From a074d811d3e5556f3c6353b57aefdae8aaf5e15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20M=C3=BCthing?= <muething@dune-project.org> Date: Fri, 13 Dec 2013 10:19:52 +0100 Subject: [PATCH] [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. --- dune/istl/bcrsmatrix.hh | 1 - 1 file changed, 1 deletion(-) diff --git a/dune/istl/bcrsmatrix.hh b/dune/istl/bcrsmatrix.hh index c80cbd17..b1019dbe 100644 --- a/dune/istl/bcrsmatrix.hh +++ b/dune/istl/bcrsmatrix.hh @@ -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 -- GitLab