Fixed wrong threshold (unit root detection again).
parent
288f010944
commit
97ac502d3d
|
@ -167,7 +167,7 @@ end
|
|||
if info(1) > 0
|
||||
if DynareOptions.order>1
|
||||
[eigenvalues_] = check(Model,DynareOptions, DynareResults);
|
||||
if any(abs(1-abs(eigenvalues_))<DynareOptions.qz_criterium)
|
||||
if any(abs(1-abs(eigenvalues_))<abs(DynareOptions.qz_criterium-1))
|
||||
error('Your model has at least one unit root and you are using a nonlinear filter. Please set nonlinear_filter_initialization=3.')
|
||||
end
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue