From eb0f318686ebe57243836cff54f6e9e609b99d19 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Mon, 16 Mar 2020 19:34:52 -0700 Subject: [PATCH] fix #3361 Signed-off-by: Nikolaj Bjorner --- src/smt/theory_lra.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/smt/theory_lra.cpp b/src/smt/theory_lra.cpp index 4eee58b37..3dbb81d36 100644 --- a/src/smt/theory_lra.cpp +++ b/src/smt/theory_lra.cpp @@ -3551,6 +3551,9 @@ public: TRACE("arith", tout << "cannot get bound for v" << v << "\n";); st = lp::lp_status::UNBOUNDED; } + else if (!m.limit().inc()) { + st = lp::lp_status::UNBOUNDED; + } else { vi = get_lpvar(v); st = lp().maximize_term(vi, term_max);