aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/bbox.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2010-02-17 16:24:08 -0800
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 16:45:30 +0000
commitcfae0901455ec6058613fe0a6a92ede157e2e6c3 (patch)
tree741b1dd528eb1302f05ecd017fd98c9c4ad30785 /Carpet/CarpetLib/src/bbox.hh
parent2a9f7b4c346ceb224374aa8009c9bbc6ed073f1f (diff)
CarpetLib: Enable bbox checks if CARPET_DEBUG is defined
Diffstat (limited to 'Carpet/CarpetLib/src/bbox.hh')
-rw-r--r--Carpet/CarpetLib/src/bbox.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/bbox.hh b/Carpet/CarpetLib/src/bbox.hh
index 9ac9a9af3..5b5029bdc 100644
--- a/Carpet/CarpetLib/src/bbox.hh
+++ b/Carpet/CarpetLib/src/bbox.hh
@@ -77,7 +77,7 @@ public:
const vect<T,D>& stride_)
: _lower(lower_), _upper(upper_), _stride(stride_)
{
-#ifndef CARPET_DEBUG
+#ifdef CARPET_DEBUG
assert_bbox_limits();
#endif
}