Skip to content
Snippets Groups Projects
Commit 4154f4a6 authored by Timo Koch's avatar Timo Koch
Browse files

[fgmres] Do not restart on last iteration

parent 34dbe81f
No related branches found
No related tags found
1 merge request!98Feature/fgmres
......@@ -1489,8 +1489,8 @@ namespace Dune {
// restart fGMRes if convergence was not achieved,
// i.e. linear residual has not reached desired reduction
// and if still j < _maxit
if( res.converged != true && j <= _maxit)
// and if still j < _maxit (do not restart on last iteration)
if( res.converged != true && j < _maxit)
{
if (_verbose > 0)
std::cout << "=== fGMRes::restart" << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment