Skip to content

Commit e820701

Browse files
fix #7107
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent e26344e commit e820701

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/smt/smt_context.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -4265,9 +4265,11 @@ namespace smt {
42654265
SASSERT(num_lits == 1);
42664266
expr * unit = bool_var2expr(lits[0].var());
42674267
bool unit_sign = lits[0].sign();
4268+
while (m.is_not(unit, unit))
4269+
unit_sign = !unit_sign;
42684270
m_units_to_reassert.push_back(unit);
42694271
m_units_to_reassert_sign.push_back(unit_sign);
4270-
TRACE("reassert_units", tout << "asserting #" << unit->get_id() << " " << unit_sign << " @ " << m_scope_lvl << "\n";);
4272+
TRACE("reassert_units", tout << "asserting " << mk_pp(unit, m) << " #" << unit->get_id() << " " << unit_sign << " @ " << m_scope_lvl << "\n";);
42714273
}
42724274

42734275
m_conflict_resolution->release_lemma_atoms();

0 commit comments

Comments
 (0)