mirror of
https://github.com/Z3Prover/z3
synced 2025-06-30 09:58:46 +00:00
empty clause handling
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
04df77e89d
commit
4b22ff2d3b
2 changed files with 3 additions and 3 deletions
|
@ -2399,8 +2399,8 @@ namespace smt {
|
||||||
m_empty_clause = false;
|
m_empty_clause = false;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// m_conflict = m_empty_clause ? b_justification::mk_axiom() : null_b_justification;
|
m_conflict = m_empty_clause ? b_justification::mk_axiom() : null_b_justification;
|
||||||
m_conflict = null_b_justification;
|
// m_conflict = null_b_justification;
|
||||||
m_not_l = null_literal;
|
m_not_l = null_literal;
|
||||||
}
|
}
|
||||||
del_clauses(m_aux_clauses, s.m_aux_clauses_lim);
|
del_clauses(m_aux_clauses, s.m_aux_clauses_lim);
|
||||||
|
|
|
@ -1351,7 +1351,7 @@ namespace smt {
|
||||||
m_justifications.push_back(j);
|
m_justifications.push_back(j);
|
||||||
TRACE("mk_clause", tout << "empty clause... setting conflict\n";);
|
TRACE("mk_clause", tout << "empty clause... setting conflict\n";);
|
||||||
set_conflict(j == nullptr ? b_justification::mk_axiom() : b_justification(j));
|
set_conflict(j == nullptr ? b_justification::mk_axiom() : b_justification(j));
|
||||||
m_empty_clause = true;
|
m_empty_clause = (j == nullptr);
|
||||||
SASSERT(inconsistent());
|
SASSERT(inconsistent());
|
||||||
return nullptr;
|
return nullptr;
|
||||||
case 1:
|
case 1:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue