Fixed bug (detection of unit roots).
parent
f57fc0a5a3
commit
288f010944
|
@ -167,7 +167,7 @@ end
|
|||
if info(1) > 0
|
||||
if DynareOptions.order>1
|
||||
[eigenvalues_] = check(Model,DynareOptions, DynareResults);
|
||||
if any(abs(eigenvalues_)>DynareOptions.qz_criterium)
|
||||
if any(abs(1-abs(eigenvalues_))<DynareOptions.qz_criterium)
|
||||
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