Skip to content
Snippets Groups Projects
Commit 98faf2c2 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

cannot delete leafIndexSet, but not allowd.

[[Imported from SVN: r3035]]
parent 9f90f45a
No related branches found
No related tags found
No related merge requests found
......@@ -3888,9 +3888,8 @@ namespace Dune
for(unsigned int i=0; i<levelIndexVec_.size(); i++)
if(levelIndexVec_[i]) (*levelIndexVec_[i]).calcNewIndex();
if( leafIndexSet_ ) delete leafIndexSet_;
//if( leafIndexSet_ ) (*leafIndexSet_).resize();
//if( leafIndexSet_ ) (*leafIndexSet_).compress();
if( leafIndexSet_ ) (*leafIndexSet_).resize();
if( leafIndexSet_ ) (*leafIndexSet_).compress();
// we have a new grid
wasChanged_ = true;
......
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