aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Carpet/Carpet/src/Storage.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/Storage.cc b/Carpet/Carpet/src/Storage.cc
index eee79cbcb..7ed62d500 100644
--- a/Carpet/Carpet/src/Storage.cc
+++ b/Carpet/Carpet/src/Storage.cc
@@ -172,7 +172,7 @@ namespace Carpet {
const bool ismap0group = IsMap0Group(group);
for (int m=0; m<(int)arrdata.AT(group).size(); ++m) {
- if (ismap0group) continue;
+ if (m>0 and ismap0group) continue;
for (int var=0; var<gp.numvars; ++var) {
#ifdef CCTK_HAVE_CONTIGUOUS_GROUPS
bool const contiguous = gp.contiguous;