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
......@@ -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