Verified Commit 4a686051 authored by Johannes Pfeifer 's avatar Johannes Pfeifer Committed by Sébastien Villemot
Browse files

dyn_ramsey_static.m: abort of steady state file signals error code

(cherry picked from commit 2004641a)
parent d54222b8
Pipeline #3344 passed with stages
in 346 minutes and 44 seconds
...@@ -125,6 +125,11 @@ if options_.steadystate_flag ...@@ -125,6 +125,11 @@ if options_.steadystate_flag
steady_state=NaN(endo_nbr,1); steady_state=NaN(endo_nbr,1);
return return
end end
if check %return
resids=ones(inst_nbr,1)+sum(abs(x(1:M.orig_endo_nbr))); %return with penalty
steady_state=NaN(endo_nbr,1);
return
end
end end
......
Markdown is supported
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