Commit 3b696352 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'cmr_steady_issue_1' into 'master'

evaluate_steady_state_file.m: fix two bugs in debugging mode

See merge request Dynare/dynare!1634
parents 60d95b65 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-ys3)>0);
idx = find(abs(ys3-ys2)>0);
if ~isempty(idx)
M.endo_names{idx}
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment