mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
missing pb cases
This commit is contained in:
parent
dfe2b27f9a
commit
366cd9b16d
1 changed files with 9 additions and 0 deletions
|
@ -1370,6 +1370,15 @@ namespace pb {
|
|||
s().mk_clause(_lits.size(), _lits.data(), sat::status::th(learned, get_id()));
|
||||
return nullptr;
|
||||
}
|
||||
if (k == 0 && lit == sat::null_literal)
|
||||
return nullptr;
|
||||
|
||||
if (k == 0) {
|
||||
s().assign_unit(lit);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
if (!learned && clausify(lit, lits.size(), lits.data(), k)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue