3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-13 18:54:43 +00:00

Simplify clause_builder

This commit is contained in:
Jakob Rath 2022-10-07 15:22:49 +02:00
parent e18bc46de1
commit 8b4a36e3bd
4 changed files with 8 additions and 20 deletions

View file

@ -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);