3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-12-15 16:58:58 +00:00

clause_builder: rename push to insert

This commit is contained in:
Jakob Rath 2022-11-17 15:08:27 +01:00
parent dbe814d568
commit f12ae0af12
7 changed files with 21 additions and 36 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(~sc);
cb.push(~premise);
cb.push(conseq);
cb.insert(~sc);
cb.insert(~premise);
cb.insert(conseq);
clause_ref just = cb.build();
SASSERT(just);
s.add_clause(*just);