3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 18:05:21 +00:00

fix build issue

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-06-17 09:59:03 -07:00
parent 035baf7cb9
commit c81f25a1c8
2 changed files with 6 additions and 6 deletions

View file

@ -3098,7 +3098,7 @@ bool context::check_reachability ()
node = m_pob_queue.top ();
m_pob_queue.pop();
unsigned old_sz = m_pob_queue.size();
size_t old_sz = m_pob_queue.size();
(void)old_sz;
SASSERT (node->level () <= m_pob_queue.max_level ());
switch (expand_pob(*node, new_pobs)) {

View file

@ -358,16 +358,16 @@ namespace {
}
}
expr *nres, *f1, *f2;
expr *nres = nullptr, *f1 = nullptr, *f2 = nullptr;
if (m.is_not(res, nres)) {
// --(not (xor a b)) == (= a b)
if (m.is_xor(nres, f1, f2))
res = m.mk_eq(f1, f2);
// -- split arithmetic inequality
else if (m.is_eq(nres, f1, f2) && m_arith.is_int_real(f1)) {
expr_ref u(m);
u = m_arith.mk_lt(f1, f2);
res = m_model.is_true(u) ? u : m_arith.mk_lt(f2, f1);
res = m_arith.mk_lt(f1, f2);
if (!m_model.is_true(res))
res = m_arith.mk_lt(f2, f1);
}
}
@ -387,7 +387,7 @@ namespace {
if (!is_true && !m.is_false(v)) return;
expr *na, *f1, *f2, *f3;
expr *na = nullptr, *f1 = nullptr, *f2 = nullptr, *f3 = nullptr;
SASSERT(!m.is_false(a));
if (m.is_true(a)) {