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

evaluate_steady_state.m: correctly condition debugging info on existence of...

evaluate_steady_state.m: correctly condition debugging info on existence of objects from steady state file
parent 1638374b
Branches
No related tags found
No related merge requests found
...@@ -141,6 +141,7 @@ if options.ramsey_policy ...@@ -141,6 +141,7 @@ if options.ramsey_policy
fprintf('%s\n',M.endo_names{nanrow(iter)}); fprintf('%s\n',M.endo_names{nanrow(iter)});
end end
end end
if steadystate_flag
nan_indices_mult=find(isnan(resids(1:n_multipliers))); nan_indices_mult=find(isnan(resids(1:n_multipliers)));
if any(nan_indices_mult) if any(nan_indices_mult)
fprintf('evaluate_steady_state: The steady state results NaN for auxiliary equation %u.\n',nan_indices_mult); fprintf('evaluate_steady_state: The steady state results NaN for auxiliary equation %u.\n',nan_indices_mult);
...@@ -166,6 +167,8 @@ if options.ramsey_policy ...@@ -166,6 +167,8 @@ if options.ramsey_policy
end end
end end
end
%either if no steady state file or steady state file without problems %either if no steady state file or steady state file without problems
[ys,params,info] = dyn_ramsey_static(ys_init,M,options,oo); [ys,params,info] = dyn_ramsey_static(ys_init,M,options,oo);
if info if info
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment