aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/data.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/data.cc')
-rw-r--r--Carpet/CarpetLib/src/data.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/data.cc b/Carpet/CarpetLib/src/data.cc
index 608b78cb5..f3cdb59d7 100644
--- a/Carpet/CarpetLib/src/data.cc
+++ b/Carpet/CarpetLib/src/data.cc
@@ -55,7 +55,7 @@ call_operator (void
#ifndef _OPENMP
(* the_operator) (src, srcext, dst, dstext, srcbbox, dstbbox, regbbox);
#else
-# if ! defined (CARPET_OPTIMISE)
+# if ! defined (NDEBUG) && ! defined (CARPET_OPTIMISE)
ibset allregbboxes;
# endif
#pragma omp parallel
@@ -89,7 +89,7 @@ call_operator (void
# endif
}
}
-# if ! defined (CARPET_OPTIMISE)
+# if ! defined (NDEBUG) && ! defined (CARPET_OPTIMISE)
if (not (allregbboxes == ibset (regbbox))) {
allregbboxes.normalize();
cout << "allregbboxes=" << allregbboxes << endl