Skip to content
Snippets Groups Projects
Verified Commit 0687759a authored by Nils-Arne Dreier's avatar Nils-Arne Dreier
Browse files

fix bug in constroctor of IterativeSolver

parent c10ec539
No related branches found
No related tags found
1 merge request!311fix bug in constroctor of IterativeSolver
......@@ -294,7 +294,7 @@ namespace Dune
_prec(prec),
_sp(sp),
_reduction(reduction), _maxit(maxit), _verbose(verbose),
_category(SolverCategory::category(op))
_category(SolverCategory::category(*op))
{
if(SolverCategory::category(*op) != SolverCategory::category(*prec))
DUNE_THROW(InvalidSolverCategory, "LinearOperator and Preconditioner must have the same SolverCategory!");
......
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