Skip to content
Snippets Groups Projects
Commit 5b5ab9a7 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

[GMRes] Throw the more specific `SolverAbort` instead of `ISTLError` on breakdown.

SolverAbort is derived from ISTLError, so any existing catch-clause should
still apply.
parent 3ec07f1e
No related branches found
No related tags found
1 merge request!36Abort CGSolver when the defect is invalid
......@@ -1311,7 +1311,7 @@ namespace Dune {
}
H[i+1][i] = _sp.norm(w);
if(abs(H[i+1][i]) < EPSILON)
DUNE_THROW(ISTLError,
DUNE_THROW(SolverAbort,
"breakdown in GMRes - |w| == 0.0 after " << j << " iterations");
// normalize new vector
......
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