From 0490056e7a6ced9b9a93f56151233ff5b7bafe26 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Mon, 17 May 2021 19:19:28 -0700 Subject: [PATCH] na Signed-off-by: Nikolaj Bjorner --- src/opt/optsmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opt/optsmt.cpp b/src/opt/optsmt.cpp index 0aebf522b..0bc7ba986 100644 --- a/src/opt/optsmt.cpp +++ b/src/opt/optsmt.cpp @@ -235,7 +235,7 @@ namespace opt { else { ++steps; } - if (delta_per_step > rational::one() || obj == last_objective) { + if (delta_per_step > rational::one() || (obj == last_objective && is_int)) { m_s->push(); ++num_scopes; bound = m_s->mk_ge(obj_index, obj + inf_eps(delta_per_step));