3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 04:56:03 +00:00

fix again

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-05-08 12:11:43 +02:00
parent f79dccccfe
commit 6071797ba9
2 changed files with 2 additions and 5 deletions

View file

@ -385,7 +385,7 @@ namespace nlsat {
// TODO: check if it is useful to cache results
SASSERT(m_assignment.is_assigned(max_var(p)));
int r = m_am.eval_sign_at(polynomial_ref(p, m_pm), m_assignment);
return r > 0 ? +1 : (r < 0 ? 0 : -1);
return r > 0 ? +1 : (r < 0 ? -1 : 0);
}
bool satisfied(int sign, atom::kind k) {