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

time-shift
Johannes Pfeifer 2020-03-06 18:55:01 +01:00
parent 0a52dedfda
commit 2004641a10
1 changed files with 5 additions and 0 deletions

View File

@ -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