Merge branch 'cmr_steady_issue_1' into 'master'
evaluate_steady_state_file.m: fix two bugs in debugging mode See merge request Dynare/dynare!1634time-shift
commit
3b69635200
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue