Unverified 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
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment