Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
7c9ce915
Commit
7c9ce915
authored
Nov 28, 2012
by
Michel Juillard
Browse files
fixing bug in error message for failed homotopy (steady)
parent
892df906
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/steady.m
View file @
7c9ce915
...
@@ -60,15 +60,15 @@ if info(1)
...
@@ -60,15 +60,15 @@ if info(1)
disp
(
'The last values for which a solution was found are:'
)
disp
(
'The last values for which a solution was found are:'
)
for
i
=
1
:
length
(
ip
)
for
i
=
1
:
length
(
ip
)
disp
(
sprintf
(
'%12s %12.6f'
,
M_
.
param_names
(
hv
(
ip
(
i
),
2
),:),
...
disp
(
sprintf
(
'%12s %12.6f'
,
M_
.
param_names
(
hv
(
ip
(
i
),
2
),:),
...
M_
.
params
(
hv
(
ip
(
i
)))))
M_
.
params
(
hv
(
ip
(
i
)
,
2
))))
end
end
for
i
=
1
:
length
(
ix
)
for
i
=
1
:
length
(
ix
)
disp
(
sprintf
(
'%12s %12.6f'
,
M_
.
exo_names
(
hv
(
ix
(
i
),
2
),:),
...
disp
(
sprintf
(
'%12s %12.6f'
,
M_
.
exo_names
(
hv
(
ix
(
i
),
2
),:),
...
oo_
.
exo_steady_state
(
hv
(
ix
(
i
)))))
oo_
.
exo_steady_state
(
hv
(
ix
(
i
)
,
2
))))
end
end
for
i
=
1
:
length
(
ixd
)
for
i
=
1
:
length
(
ixd
)
disp
(
sprintf
(
'%12s %12.6f'
,
M_
.
exo_det_names
(
hv
(
ixd
(
i
),
2
),:),
...
disp
(
sprintf
(
'%12s %12.6f'
,
M_
.
exo_det_names
(
hv
(
ixd
(
i
),
2
),:),
...
oo_
.
exo_det_steady_state
(
hv
(
ixd
(
i
)))))
oo_
.
exo_det_steady_state
(
hv
(
ixd
(
i
)
,
2
))))
end
end
if
options_
.
homotopy_force_continue
if
options_
.
homotopy_force_continue
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment