Skip to content
Snippets Groups Projects
Commit 51e2ff30 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'discretionary_noprint' into 'master'

:bug: discretionary_policy: fix noprint option

See merge request !2349
parents 251758ed de630ce9
No related branches found
No related tags found
1 merge request!2349:bug: discretionary_policy: fix noprint option
Pipeline #11382 passed
...@@ -35,6 +35,9 @@ origorder = options_.order; ...@@ -35,6 +35,9 @@ origorder = options_.order;
options_.order = 1; options_.order = 1;
[info, oo_, options_, M_] = stoch_simul(M_, options_, oo_, var_list); [info, oo_, options_, M_] = stoch_simul(M_, options_, oo_, var_list);
if info(1)
return;
end
oo_.steady_state = oo_.dr.ys; oo_.steady_state = oo_.dr.ys;
if ~options_.noprint if ~options_.noprint
......
...@@ -42,6 +42,7 @@ if options_.steadystate_flag ...@@ -42,6 +42,7 @@ if options_.steadystate_flag
[ys,M_.params,info] = evaluate_steady_state_file(endo_steady_state,[exo_steady_state; exo_det_steady_state],M_, ... [ys,M_.params,info] = evaluate_steady_state_file(endo_steady_state,[exo_steady_state; exo_det_steady_state],M_, ...
options_,~options_.steadystate.nocheck); options_,~options_.steadystate.nocheck);
if info(1) if info(1)
params=M_.params;
return; return;
end end
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment