3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-22 19:17:53 +00:00

fix build

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-07-30 12:48:43 -07:00
parent e0a9848e01
commit 3a26dccc8a
2 changed files with 2 additions and 1 deletions

View file

@ -1251,6 +1251,7 @@ namespace smt {
expr * rhs2;
if (m_util.is_to_real(rhs, rhs2) && is_app(rhs2)) { rhs = to_app(rhs2); }
if (!m_util.is_numeral(rhs)) {
SASSERT(false);
throw default_exception("malformed atomic constraint");
}
theory_var v = internalize_term_core(lhs);