3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-29 17:38:45 +00:00

empty clause handling

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-12-10 02:45:40 -08:00
parent 04df77e89d
commit 4b22ff2d3b
2 changed files with 3 additions and 3 deletions

View file

@ -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: