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
Marco Ratto
dynare
Commits
f947a31b
Commit
f947a31b
authored
Nov 16, 2018
by
Johannes Pfeifer
Browse files
evaluate_steady_state_file.m: fix two bugs in debugging mode
parent
60d95b65
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/evaluate_steady_state_file.m
View file @
f947a31b
...
...
@@ -122,7 +122,7 @@ if length(M.aux_vars) > 0 && ~options.ramsey_policy
ys
=
h_set_auxiliary_variables
(
ys
,
exo_ss
,
params
);
end
ys3
=
ys
;
idx
=
find
(
abs
(
ys0
-
ys1
)
>
0
);
idx
=
find
(
abs
(
ys0
-
ys1
(
1
:
M
.
orig_endo_nbr
)
)
>
0
);
if
~
isempty
(
idx
)
M
.
endo_names
{
idx
}
else
...
...
@@ -134,7 +134,7 @@ if length(M.aux_vars) > 0 && ~options.ramsey_policy
else
disp
(
'2-invariant'
)
end
idx
=
find
(
abs
(
ys3
-
ys
3
)
>
0
);
idx
=
find
(
abs
(
ys3
-
ys
2
)
>
0
);
if
~
isempty
(
idx
)
M
.
endo_names
{
idx
}
else
...
...
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