3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 02:16:40 +00:00

update to retain original behavior

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-05-02 19:30:54 -07:00
parent 561a4331a8
commit eeb79e1c3c
2 changed files with 3 additions and 3 deletions

View file

@ -406,7 +406,7 @@ namespace opt {
if (r == l_true && !get_lower_as_num(i).is_finite()) {
return r;
}
if (r == l_true && i + 1 < m_objectives.size()) {
if (r == l_true && i + 1 < m_objectives.size() && get_lower_as_num(i).is_finite()) {
update_lower();
}
}