Skip to content
Snippets Groups Projects
Verified Commit 32934398 authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

evaluate_steady_state_file.m: fix two bugs in debugging mode

(cherry picked from commit f947a31b)
parent 3b972345
Branches
Tags
No related merge requests found
......@@ -112,7 +112,7 @@ if length(M.aux_vars) > 0 && ~options.ramsey_policy
if debug
ys = h_set_auxiliary_variables(ys,exo_ss,params);
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
......@@ -124,7 +124,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment