mirror of
https://github.com/Z3Prover/z3
synced 2025-05-13 18:54:43 +00:00
Simplify clause_builder
This commit is contained in:
parent
e18bc46de1
commit
8b4a36e3bd
4 changed files with 8 additions and 20 deletions
|
@ -132,9 +132,9 @@ namespace polysat {
|
|||
SASSERT(bound * p.val() > max);
|
||||
SASSERT((bound - 1) * p.val() <= max);
|
||||
clause_builder cb(s);
|
||||
cb.push_new(~sc);
|
||||
cb.push_new(~premise);
|
||||
cb.push_new(conseq);
|
||||
cb.push(~sc);
|
||||
cb.push(~premise);
|
||||
cb.push(conseq);
|
||||
clause_ref just = cb.build();
|
||||
SASSERT(just);
|
||||
s.add_clause(*just);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue