3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 04:26:00 +00:00

remove explanation.reset() and fixes in add_var_bound()

Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
Lev 2018-11-09 10:04:08 -08:00 committed by Lev Nachmanson
parent 1d51c5689e
commit 2993453798
4 changed files with 15 additions and 8 deletions

View file

@ -2023,7 +2023,7 @@ public:
if (!check_idiv_bounds()) {
return l_false;
}
m_explanation.reset();
m_explanation.clear();
switch (m_lia->check()) {
case lp::lia_move::sat:
lia_check = l_true;
@ -2195,7 +2195,7 @@ public:
if (!m_nra && !m_nla) return l_true;
if (!m_switcher.need_check()) return l_true;
m_a1 = nullptr; m_a2 = nullptr;
m_explanation.reset();
m_explanation.clear();
lbool r = m_nra? m_nra->check(m_explanation): m_nla->check(m_explanation, m_lemma);
return m_nra? check_aftermath_nra(r) : check_aftermath_nla(r);
}