Commit da36cca3 authored by Kilian Weishaupt's avatar Kilian Weishaupt Committed by Timo Koch
Browse files

[linear][pdeSolver] Remove precondBlockLevel from solve()

parent 9eca581e
......@@ -260,7 +260,6 @@ private:
* Specialization for linear solvers that can handle MultiType matrices.
*
*/
template<class LS = LinearSolver, class V = SolutionVector>
typename std::enable_if_t<linearSolverAcceptsMultiTypeMatrix<LS>() &&
isMultiTypeBlockVector<V>(), bool>
......@@ -270,9 +269,7 @@ private:
SolutionVector& b)
{
assert(this->checkSizesOfSubMatrices(A) && "Sub-blocks of MultiTypeBlockMatrix have wrong sizes!");
// TODO: automatically derive the precondBlockLevel
return ls.template solve</*precondBlockLevel=*/2>(A, x, b);
return ls.solve(A, x, b);
}
/*!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment