Commit a53201bc authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

Apply 2 suggestion(s) to 1 file(s)

parent 7e01b9f9
......@@ -1223,14 +1223,14 @@ private:
assert(this->checkSizesOfSubMatrices(A) && "Sub-blocks of MultiTypeBlockMatrix have wrong sizes!");
// create the bcrs matrix the IterativeSolver backend can handle
auto M = MatrixConverter<JacobianMatrix>::multiTypeToBCRSMatrix(A);
const auto M = MatrixConverter<JacobianMatrix>::multiTypeToBCRSMatrix(A);
// get the new matrix sizes
const std::size_t numRows = M.N();
assert(numRows == M.M());
// create the vector the IterativeSolver backend can handle
auto bTmp = VectorConverter<SolutionVector>::multiTypeToBlockVector(b);
const auto bTmp = VectorConverter<SolutionVector>::multiTypeToBlockVector(b);
assert(bTmp.size() == numRows);
// create a blockvector to which the linear solver writes the solution
Supports Markdown
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