diff options
Diffstat (limited to 'Carpet/CarpetLib')
-rw-r--r-- | Carpet/CarpetLib/src/bbox.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/bbox.hh b/Carpet/CarpetLib/src/bbox.hh index 9783d5638..5f286befb 100644 --- a/Carpet/CarpetLib/src/bbox.hh +++ b/Carpet/CarpetLib/src/bbox.hh @@ -80,6 +80,8 @@ public: #ifdef CARPET_DEBUG assert_bbox_limits(); #endif + assert (all (stride() > T(0))); + assert (all ((upper() - lower()) % stride() == T(0))); } // Poison |