From 985fc509614e8959a34282c07048abed13821bd8 Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Tue, 12 Jan 2016 09:48:43 -0800 Subject: [PATCH] breaking regression tests: ensure that model values are of the sort of the original expression. Signed-off-by: Nikolaj Bjorner --- src/smt/theory_arith_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smt/theory_arith_core.h b/src/smt/theory_arith_core.h index 6f245d1c6..cde3aa9fd 100644 --- a/src/smt/theory_arith_core.h +++ b/src/smt/theory_arith_core.h @@ -3126,7 +3126,7 @@ namespace smt { TRACE("arith", tout << "Truncating non-integer value. This is possible for non-linear constraints v" << v << " " << num << "\n";); num = floor(num); } - return alloc(expr_wrapper_proc, m_factory->mk_value(num, is_int(v))); + return alloc(expr_wrapper_proc, m_factory->mk_value(num, m_util.is_int(var2expr(v)))); } // -----------------------------------