diff --git a/dune/common/dynmatrix.hh b/dune/common/dynmatrix.hh index 6024ca632b7373758e78ef0e858c59ca54b55693..0daf9a016fb3f462b0962f09693ef0b824b8d724 100644 --- a/dune/common/dynmatrix.hh +++ b/dune/common/dynmatrix.hh @@ -71,6 +71,7 @@ namespace Dune //==== resize related methods void resize (size_type r, size_type c, value_type v = value_type() ) { + _data.resize(0); _data.resize(r, row_type(c, v) ); }