Skip to content
Snippets Groups Projects
Commit 68895878 authored by Markus Blatt's avatar Markus Blatt
Browse files

Only free rows if n>0.

[[Imported from SVN: r694]]
parent f6aac902
No related branches found
No related tags found
No related merge requests found
......@@ -423,7 +423,7 @@ namespace Dune {
deallocate(false);
// reallocate the rows if required
if (n!=Mat.n)
if (n>0 && n!=Mat.n)
// free rows
A::template free<row_type>(r);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment