Merge branch 'dyn_ramsey_static' of git.dynare.org:JohannesPfeifer/dynare

Ref. !1957
pac-components
Sébastien Villemot 2021-11-08 12:23:35 +01:00
commit f9e3132e4e
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ if options_.steadystate_flag
steady_state=NaN(endo_nbr,1);
return
end
if check %return
if check(1) %return
resids=ones(inst_nbr,1)+sum(abs(x(1:M.orig_endo_nbr))); %return with penalty
steady_state=NaN(endo_nbr,1);
return