diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-05-26 16:19:38 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-05-26 16:19:38 -0400 |
commit | 95fcc84d481e21c97833054a78ff38d544c7117f (patch) | |
tree | 8814072d4b7ad3f6f5e70ddf9b1c2c72485ea929 | |
parent | 339b60e63c9a837d7165339818e61b93716b64e7 (diff) |
CarpetLib: Remove superfluous check that all indices are non-negative
-rw-r--r-- | Carpet/CarpetLib/src/bbox.hh | 7 |
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 |