aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetReduce
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetReduce')
-rw-r--r--Carpet/CarpetReduce/src/reduce.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetReduce/src/reduce.cc b/Carpet/CarpetReduce/src/reduce.cc
index 72a589df8..70162ac3e 100644
--- a/Carpet/CarpetReduce/src/reduce.cc
+++ b/Carpet/CarpetReduce/src/reduce.cc
@@ -491,7 +491,7 @@ namespace CarpetReduce {
imin[d] = (bbox[2*d ] ? 0 : nghostzones[d]);
imax[d] = lsh[d] - (bbox[2*d+1] ? 0 : nghostzones[d]);
}
- static_assert (dim==3);
+ static_assert (dim==3, "Only 3 dimensions are currently supported");
for (int k=imin[2]; k<imax[2]; ++k) {
for (int j=imin[1]; j<imax[1]; ++j) {
for (int i=imin[0]; i<imax[0]; ++i) {