Skip to content
Snippets Groups Projects
Commit 596be7b9 authored by Timo Koch's avatar Timo Koch Committed by Ned Coltman
Browse files

Merge branch 'fix/solver-factory-dune27' into 'master'

[linear][istlsolverfactorybackend] Fix compiler error for dune-2.7 and BCRS matrices

Closes #868

See merge request !2017

(cherry picked from commit c211d012)

dccae09f [linear][istlsolverfactorybackend] Fix compiler error for dune-2.7 and BCRS matrices
parent 4eead2ab
No related branches found
No related tags found
2 merge requests!2152WIP add default fluxcache properties,!2018Merge branch 'fix/solver-factory-dune27' into 'master'
......@@ -97,7 +97,15 @@ void initSolverFactories()
if constexpr (isMultiTypeBlockMatrix<Matrix>::value)
initSolverFactoriesForMultiTypeBlockMatrix<LinearOperator>();
else
#if DUNE_VERSION_GT(DUNE_ISTL,2,7)
Dune::initSolverFactories<LinearOperator>();
#else
{
using X = typename LinearOperator::range_type;
using Y = typename LinearOperator::domain_type;
Dune::initSolverFactories<Matrix, X, Y>();
}
#endif
}
/*!
......
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