Skip to content
Snippets Groups Projects
Commit c82ca486 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Fix row and col size in MatrixBuilder<MultiTypeMatrix<...>>

Row and col size heb been swapped before leading to incorrect results
for non-square outer matrix pattern.
parent be3fc665
No related branches found
No related tags found
1 merge request!101[bugfix] Fix row and col size in MatrixBuilder<MultiTypeMatrix<...>>
Pipeline #40718 passed
......@@ -184,7 +184,7 @@ private:
//! number of multi type cols (we assume the matrix is well-formed)
static constexpr size_t colBlocks_ = Matrix::M();
//! 2D array of IndexSets
std::array<std::array<Dune::MatrixIndexSet,rowBlocks_>,colBlocks_> indices_;
std::array<std::array<Dune::MatrixIndexSet,colBlocks_>,rowBlocks_> indices_;
Matrix& matrix_;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment