Skip to content
Snippets Groups Projects
Commit a074d811 authored by Steffen Müthing's avatar Steffen Müthing
Browse files

[Bugfix][BCRSMatrix] Never change the stored value of the allocated array size

That value indicates the amount of allocated memory, changing it tripped
a problem when copy-assigning matrices for me.
parent 038ed7bc
No related branches found
No related tags found
No related merge requests found
......@@ -997,7 +997,6 @@ namespace Dune {
// Set nnz to the exact number of nonzero blocks inserted
// as some methods rely on it
Mat.nnz=nnz;
Mat.allocationSize = nnz;
}
}
// done
......
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