mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
fix unsoundness issue due to book-keeping changes for whether the solver uses assumptions.
This commit is contained in:
parent
1a5503c87b
commit
8e167aa213
|
@ -2416,7 +2416,7 @@ namespace sat {
|
|||
m_conflict_lvl = get_max_lvl(m_not_l, m_conflict, unique_max);
|
||||
justification js = m_conflict;
|
||||
|
||||
if (m_conflict_lvl <= 1 && tracking_assumptions()) {
|
||||
if (m_conflict_lvl <= 1 && (!m_assumptions.empty() || !m_user_scope_literals.empty())) {
|
||||
TRACE("sat", tout << "unsat core\n";);
|
||||
resolve_conflict_for_unsat_core();
|
||||
return l_false;
|
||||
|
|
Loading…
Reference in a new issue