All iterations are printed during the simulation
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2385 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
851b5896c0
commit
6e4e80785c
|
@ -190,9 +190,9 @@ function y = solve_two_boundaries(fname, y, x, params, y_index, nze, periods, y_
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
end
|
||||||
iter=iter+1;
|
iter=iter+1;
|
||||||
disp(['iteration: ' num2str(iter,'%d') ' error: ' num2str(max_res,'%e')]);
|
disp(['iteration: ' num2str(iter,'%d') ' error: ' num2str(max_res,'%e')]);
|
||||||
end
|
|
||||||
end;
|
end;
|
||||||
if (iter>maxit_)
|
if (iter>maxit_)
|
||||||
disp(['No convergence after ' num2str(iter,'%4d') ' iterations in Block ' num2str(Block_Num,'%d')]);
|
disp(['No convergence after ' num2str(iter,'%4d') ' iterations in Block ' num2str(Block_Num,'%d')]);
|
||||||
|
|
Loading…
Reference in New Issue