mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 09:34:08 +00:00
fix #4225
This commit is contained in:
parent
bbaedbcccc
commit
93004a9d49
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue