Skip to content
Snippets Groups Projects
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
Branches
Tags
1 merge request!1815WIP Cherry-picks for 4.6
Pipeline #3344 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment