mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 11:37:54 +00:00
try_eval constraints when adding clause
(fix assertion in bench15)
This commit is contained in:
parent
e8163b1769
commit
9916a76543
2 changed files with 2 additions and 4 deletions
|
@ -1229,7 +1229,7 @@ namespace polysat {
|
|||
clause_ref solver::mk_clause(unsigned n, signed_constraint const* cs, bool is_redundant) {
|
||||
clause_builder cb(*this);
|
||||
for (unsigned i = 0; i < n; ++i)
|
||||
cb.insert(cs[i]);
|
||||
cb.insert_try_eval(cs[i]);
|
||||
cb.set_redundant(is_redundant);
|
||||
return cb.build();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue