mirror of
https://github.com/Z3Prover/z3
synced 2025-06-10 08:03:25 +00:00
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
30974968af
commit
0490056e7a
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ namespace opt {
|
||||||
else {
|
else {
|
||||||
++steps;
|
++steps;
|
||||||
}
|
}
|
||||||
if (delta_per_step > rational::one() || obj == last_objective) {
|
if (delta_per_step > rational::one() || (obj == last_objective && is_int)) {
|
||||||
m_s->push();
|
m_s->push();
|
||||||
++num_scopes;
|
++num_scopes;
|
||||||
bound = m_s->mk_ge(obj_index, obj + inf_eps(delta_per_step));
|
bound = m_s->mk_ge(obj_index, obj + inf_eps(delta_per_step));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue