diff options
Diffstat (limited to 'src/util/subrange_bound.h')
-rw-r--r-- | src/util/subrange_bound.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/subrange_bound.h b/src/util/subrange_bound.h index 5de17106d..ffb2a1eaf 100644 --- a/src/util/subrange_bound.h +++ b/src/util/subrange_bound.h @@ -23,7 +23,7 @@ #define __CVC4__SUBRANGE_BOUND_H #include "util/integer.h" -#include "util/Assert.h" +#include "util/exception.h" #include <limits> @@ -222,7 +222,7 @@ public: * precondition: joinIsBounded(a,b) is true */ static SubrangeBounds join(const SubrangeBounds& a, const SubrangeBounds& b){ - Assert(joinIsBounded(a,b)); + DebugCheckArgument(joinIsBounded(a,b), a); SubrangeBound newLower = SubrangeBound::min(a.lower, b.lower); SubrangeBound newUpper = SubrangeBound::max(a.upper, b.upper); return SubrangeBounds(newLower, newUpper); |