dyn_ramsey_static.m: only read first entry of error code
May crash otherwisepac-components
parent
3f40404bc0
commit
b1e72d531d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue