3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +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

@ -4221,7 +4221,7 @@ bool seq_rewriter::reduce_eq_empty(expr* l, expr* r, expr_ref& result) {
expr_ref_vector fmls(m()); expr_ref_vector fmls(m());
fmls.push_back(m_autil.mk_lt(offset, m_autil.mk_int(0))); fmls.push_back(m_autil.mk_lt(offset, m_autil.mk_int(0)));
fmls.push_back(m().mk_eq(s, l)); fmls.push_back(m().mk_eq(s, l));
fmls.push_back(m_autil.mk_lt(len, m_autil.mk_int(0))); fmls.push_back(m_autil.mk_le(len, m_autil.mk_int(0)));
fmls.push_back(m_autil.mk_le(len_s, offset)); fmls.push_back(m_autil.mk_le(len_s, offset));
result = m().mk_or(fmls); result = m().mk_or(fmls);
return true; return true;

View file

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