mirror of
https://github.com/Z3Prover/z3
synced 2026-03-05 05:00:23 +00:00
count
This commit is contained in:
parent
3d27ec41d0
commit
9cc9d1fac4
5 changed files with 14 additions and 5 deletions
|
|
@ -343,9 +343,9 @@ namespace polysat {
|
|||
// resolvent: ~y \/ ~z \/ u \/ v; as core: y, z, ~u, ~v
|
||||
|
||||
SASSERT(contains(lit));
|
||||
SASSERT(std::count(cl.begin(), cl.end(), lit) > 0);
|
||||
SASSERT(count(cl, lit) > 0);
|
||||
SASSERT(!contains(~lit));
|
||||
SASSERT(std::count(cl.begin(), cl.end(), ~lit) == 0);
|
||||
SASSERT(count(cl, ~lit) == 0);
|
||||
|
||||
remove(s.lit2cnstr(lit));
|
||||
for (sat::literal other : cl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue