3
0
Fork 0
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:
Jakob Rath 2023-01-31 15:15:08 +01:00
parent e8163b1769
commit 9916a76543
2 changed files with 2 additions and 4 deletions

View file

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