3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-01-31 15:38:10 -08:00
parent e26344efd7
commit e820701f9d

View file

@ -4265,9 +4265,11 @@ namespace smt {
SASSERT(num_lits == 1);
expr * unit = bool_var2expr(lits[0].var());
bool unit_sign = lits[0].sign();
while (m.is_not(unit, unit))
unit_sign = !unit_sign;
m_units_to_reassert.push_back(unit);
m_units_to_reassert_sign.push_back(unit_sign);
TRACE("reassert_units", tout << "asserting #" << unit->get_id() << " " << unit_sign << " @ " << m_scope_lvl << "\n";);
TRACE("reassert_units", tout << "asserting " << mk_pp(unit, m) << " #" << unit->get_id() << " " << unit_sign << " @ " << m_scope_lvl << "\n";);
}
m_conflict_resolution->release_lemma_atoms();