Skip to content
Snippets Groups Projects
Verified Commit 62586990 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

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

See merge request !1872
parents 6c4935fa e8c3758f
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment