aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/ggf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/ggf.cc')
-rw-r--r--Carpet/CarpetLib/src/ggf.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/Carpet/CarpetLib/src/ggf.cc b/Carpet/CarpetLib/src/ggf.cc
index ebc81cb6d..84f867c46 100644
--- a/Carpet/CarpetLib/src/ggf.cc
+++ b/Carpet/CarpetLib/src/ggf.cc
@@ -132,13 +132,8 @@ void ggf::recompose_allocate (const int rl)
oldstorage.resize(storage.size());
for (int ml=0; ml<(int)storage.size(); ++ml) {
oldstorage.AT(ml).resize(storage.AT(ml).size());
-#if 0
- oldstorage.AT(ml).AT(rl) = storage.AT(ml).AT(rl);
- storage.AT(ml).AT(rl).clear();
-#else
oldstorage.AT(ml).AT(rl).clear();
swap (storage.AT(ml).AT(rl), oldstorage.AT(ml).AT(rl));
-#endif
}
for (int ml=0; ml<d.h.mglevels(); ++ml) {