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

See merge request !1872
time-shift
Sébastien Villemot 2021-06-14 15:29:01 +02:00
commit 6258699060
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ while matd > tol && iter< max_iter
A0=A1;
iter=iter+1;
end
if iter==max_iter
if iter==max_iter || isnan(matd)
X=NaN(size(P0));
exitflag=1;
return