Commit 2004641a authored by Johannes Pfeifer 's avatar Johannes Pfeifer

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

parent 0a52dedf
......@@ -125,6 +125,11 @@ if options_.steadystate_flag
steady_state=NaN(endo_nbr,1);
return
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
......
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