3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-14 03:04:44 +00:00

Simplify constraint evaluation

This commit is contained in:
Jakob Rath 2022-11-23 12:19:03 +01:00
parent e4999b07aa
commit fdc186b204
10 changed files with 95 additions and 113 deletions

View file

@ -24,8 +24,8 @@ Author:
namespace polysat {
bool constraint::is_currently_false(solver& s, bool is_positive) const {
return is_currently_false(s.assignment(), is_positive);
lbool constraint::eval(solver const& s) const {
return eval(s.assignment());
}
bool signed_constraint::is_eq() const {