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

Revert "[bugfix] Copy the number of rows in the copy constructor."

This reverts commit 5d8e6db1.

While the patch above fixes the issue in FS #1394, it creates an
inconsistency between the way the copy constructor and the assignment
operator work.

Reverted before applying a more consistent fix.
parent 5d8e6db1
No related branches found
No related tags found
No related merge requests found
......@@ -754,7 +754,7 @@ namespace Dune {
* Does a deep copy as expected.
*/
BCRSMatrix (const BCRSMatrix& Mat)
: build_mode(Mat.build_mode), ready(notAllocated), n(Mat.n), m(0), nnz(0),
: build_mode(Mat.build_mode), ready(notAllocated), n(0), m(0), nnz(0),
allocationSize(0), r(0), a(0),
avg(Mat.avg), overflowsize(Mat.overflowsize)
{
......
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