mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Keep value_propagate for now
This commit is contained in:
parent
759d8f2a94
commit
587e77648a
2 changed files with 4 additions and 3 deletions
|
@ -142,7 +142,8 @@ namespace polysat {
|
|||
return;
|
||||
|
||||
if (value_propagate) {
|
||||
#if 0 // this should be already done with insert_eval when constructing the clause (maybe not for non-redundant clauses?)
|
||||
#if 1 // this should be already done with insert_eval when constructing the clause (maybe not for non-redundant clauses?)
|
||||
// (this loop also masks the mistake of calling clause_builder::insert instead of clause_builder::insert_eval)
|
||||
for (sat::literal lit : cl) {
|
||||
if (s.m_bvars.is_false(lit))
|
||||
continue;
|
||||
|
|
|
@ -120,8 +120,8 @@ namespace polysat {
|
|||
SASSERT(bound * p.val() > max);
|
||||
SASSERT((bound - 1) * p.val() <= max);
|
||||
clause_builder cb(s);
|
||||
cb.insert(~sc);
|
||||
cb.insert(~premise);
|
||||
cb.insert_eval(~sc);
|
||||
cb.insert_eval(~premise);
|
||||
cb.insert(conseq);
|
||||
clause_ref just = cb.build();
|
||||
SASSERT(just);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue