mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +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;
|
||||
}
|
||||
else {
|
||||
// m_conflict = m_empty_clause ? b_justification::mk_axiom() : null_b_justification;
|
||||
m_conflict = null_b_justification;
|
||||
m_conflict = m_empty_clause ? b_justification::mk_axiom() : null_b_justification;
|
||||
// m_conflict = null_b_justification;
|
||||
m_not_l = null_literal;
|
||||
}
|
||||
del_clauses(m_aux_clauses, s.m_aux_clauses_lim);
|
||||
|
|
|
@ -1351,7 +1351,7 @@ namespace smt {
|
|||
m_justifications.push_back(j);
|
||||
TRACE("mk_clause", tout << "empty clause... setting conflict\n";);
|
||||
set_conflict(j == nullptr ? b_justification::mk_axiom() : b_justification(j));
|
||||
m_empty_clause = true;
|
||||
m_empty_clause = (j == nullptr);
|
||||
SASSERT(inconsistent());
|
||||
return nullptr;
|
||||
case 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue