Return the paths for the endogenous only before the nonlinear solver crash.
trustregion
Stéphane Adjemian (Ryûk) 2022-03-03 10:57:40 +01:00
parent 90ae54a6ff
commit 7ee124bbba
Signed by: stepan
GPG Key ID: 295C1FE89E17EB3C
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ for it = initialconditions.nobs+(1:samplesize)
end
catch
DynareOutput.endo_simul(:, 1:it-1);
DynareOutput.endo_simul = DynareOutput.endo_simul(:, 1:it-1);
dprintf('Newton failed on iteration i = %s.', num2str(it-initialconditions.nobs));
break
end