3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 09:34:08 +00:00
This commit is contained in:
Nikolaj Bjorner 2020-05-06 10:35:16 -07:00
parent bbaedbcccc
commit 93004a9d49

View file

@ -947,10 +947,13 @@ namespace nlsat {
}
void mk_clause(unsigned num_lits, literal const * lits, assumption a) {
SASSERT(num_lits > 0);
_assumption_set as = nullptr;
if (a != nullptr)
as = m_asm.mk_leaf(a);
if (num_lits == 0) {
num_lits = 1;
lits = &false_literal;
}
mk_clause(num_lits, lits, false, as);
}