Skip to content
Snippets Groups Projects
Commit f947a31b authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

evaluate_steady_state_file.m: fix two bugs in debugging mode

parent 60d95b65
Branches
Tags
No related merge requests found
...@@ -122,7 +122,7 @@ if length(M.aux_vars) > 0 && ~options.ramsey_policy ...@@ -122,7 +122,7 @@ if length(M.aux_vars) > 0 && ~options.ramsey_policy
ys = h_set_auxiliary_variables(ys,exo_ss,params); ys = h_set_auxiliary_variables(ys,exo_ss,params);
end end
ys3 = ys; ys3 = ys;
idx = find(abs(ys0-ys1)>0); idx = find(abs(ys0-ys1(1:M.orig_endo_nbr))>0);
if ~isempty(idx) if ~isempty(idx)
M.endo_names{idx} M.endo_names{idx}
else else
...@@ -134,7 +134,7 @@ if length(M.aux_vars) > 0 && ~options.ramsey_policy ...@@ -134,7 +134,7 @@ if length(M.aux_vars) > 0 && ~options.ramsey_policy
else else
disp('2-invariant') disp('2-invariant')
end end
idx = find(abs(ys3-ys3)>0); idx = find(abs(ys3-ys2)>0);
if ~isempty(idx) if ~isempty(idx)
M.endo_names{idx} M.endo_names{idx}
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment