aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-05-26 16:19:38 -0400
committerErik Schnetter <schnetter@gmail.com>2013-05-26 16:19:38 -0400
commit95fcc84d481e21c97833054a78ff38d544c7117f (patch)
tree8814072d4b7ad3f6f5e70ddf9b1c2c72485ea929 /Carpet/CarpetLib
parent339b60e63c9a837d7165339818e61b93716b64e7 (diff)
CarpetLib: Remove superfluous check that all indices are non-negative
Diffstat (limited to 'Carpet/CarpetLib')
-rw-r--r--Carpet/CarpetLib/src/bbox.hh7
1 files changed, 0 insertions, 7 deletions
diff --git a/Carpet/CarpetLib/src/bbox.hh b/Carpet/CarpetLib/src/bbox.hh
index 2646cb971..82464aea9 100644
--- a/Carpet/CarpetLib/src/bbox.hh
+++ b/Carpet/CarpetLib/src/bbox.hh
@@ -81,13 +81,6 @@ public:
#ifdef CARPET_DEBUG
assert_bbox_limits();
#endif
- if (not (all (stride() > T(0))) or
- not (all ((upper() - lower()) % stride() == T(0))))
- {
- cerr << "bbox: lower=" << lower() << " upper=" << upper() << " stride=" << stride() << "\n";
- }
- assert (all (stride() > T(0)));
- assert (all ((upper() - lower()) % stride() == T(0)));
}
// Poison