mirror of
https://github.com/Z3Prover/z3
synced 2025-05-10 17:25:47 +00:00
clause_builder: rename push to insert
This commit is contained in:
parent
dbe814d568
commit
f12ae0af12
7 changed files with 21 additions and 36 deletions
|
@ -103,10 +103,10 @@ namespace polysat {
|
|||
|
||||
clause_builder cb(s);
|
||||
for (auto [w, wv] : a)
|
||||
cb.push(~s.eq(s.var(w), wv));
|
||||
cb.push(~c);
|
||||
cb.push(~c_target);
|
||||
cb.push(c_new);
|
||||
cb.insert(~s.eq(s.var(w), wv));
|
||||
cb.insert(~c);
|
||||
cb.insert(~c_target);
|
||||
cb.insert(c_new);
|
||||
core.add_lemma(cb.build());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue