mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 01:55:32 +00:00
This commit is contained in:
parent
0810720267
commit
51a4db862a
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ namespace lp_api {
|
|||
lp::constraint_index get_constraint(bool b) const { return m_constraints[b]; }
|
||||
|
||||
inf_rational get_value(bool is_true) const {
|
||||
if (is_true == !get_lit().sign())
|
||||
if (is_true != get_lit().sign())
|
||||
return inf_rational(m_value); // v >= value or v <= value
|
||||
if (m_is_int) {
|
||||
SASSERT(m_value.is_int());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue