aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/Carpet')
-rw-r--r--Carpet/Carpet/src/Restrict.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/Restrict.cc b/Carpet/Carpet/src/Restrict.cc
index f07715a86..a3b6b3439 100644
--- a/Carpet/Carpet/src/Restrict.cc
+++ b/Carpet/Carpet/src/Restrict.cc
@@ -55,6 +55,7 @@ namespace Carpet {
groups.push_back (group);
}
}
+ if (groups.empty()) return;
#ifdef REQUIREMENTS_HH
Requirements::Restrict(groups, cctkGH->cctk_iteration, reflevel);