diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2021-03-10 16:51:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 00:51:12 +0000 |
commit | a5ede7e253513ac0103c2521d7ac0c0452062b43 (patch) | |
tree | d97b4b46dd6f5d7ed62236b863862259c540206b /src/util | |
parent | e418b00f5e823eb8bcb10cb5c39f8a896921b33f (diff) |
Use CVC4_ASSERTIONS instead of NDEBUG. (#6099)
Ensures that all checks are performed in production builds with enabled assertions.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/real_algebraic_number_poly_imp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/real_algebraic_number_poly_imp.cpp b/src/util/real_algebraic_number_poly_imp.cpp index a7a55d63e..b4730c1b1 100644 --- a/src/util/real_algebraic_number_poly_imp.cpp +++ b/src/util/real_algebraic_number_poly_imp.cpp @@ -60,7 +60,7 @@ RealAlgebraicNumber::RealAlgebraicNumber(const std::vector<long>& coefficients, long lower, long upper) { -#ifndef NDEBUG +#ifdef CVC4_ASSERTIONS for (long c : coefficients) { Assert(std::numeric_limits<std::int32_t>::min() <= c |