Skip to content
Snippets Groups Projects
Commit f648c23f authored by Jonathan Youett's avatar Jonathan Youett
Browse files

[bugfix] fix number of columns for non-scalar matrix blocks

parent f2624739
No related branches found
No related tags found
1 merge request!44[bugfix] fix number of columns for non-scalar matrix blocks
Pipeline #
......@@ -298,7 +298,7 @@ namespace Dune
template<class T, class A, int n, int m>
ColCompMatrixInitializer<BCRSMatrix<FieldMatrix<T,n,m>,A> >::ColCompMatrixInitializer(ColCompMatrix& mat_)
: mat(&mat_), cols(mat_.N()), marker(0)
: mat(&mat_), cols(mat_.M()), marker(0)
{
mat->Nnz_=0;
}
......
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