Skip to content

Commit

Permalink
fix #7107
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Jan 31, 2024
1 parent e26344e commit e820701
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/smt/smt_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e820701

Please sign in to comment.