mirror of
https://github.com/Z3Prover/z3
synced 2025-10-11 02:08:07 +00:00
bug fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
356835533a
commit
10e4235b4c
4 changed files with 72 additions and 72 deletions
|
@ -372,6 +372,9 @@ namespace sat {
|
|||
|
||||
clause * solver::mk_nary_clause(unsigned num_lits, literal * lits, bool learned) {
|
||||
m_stats.m_mk_clause++;
|
||||
for (unsigned i = 0; i + 1 < num_lits; ++i) {
|
||||
VERIFY (lits[i] != ~lits[i + 1]);
|
||||
}
|
||||
clause * r = m_cls_allocator.mk_clause(num_lits, lits, learned);
|
||||
SASSERT(!learned || r->is_learned());
|
||||
bool reinit = attach_nary_clause(*r);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue