Skip to content

Commit c2610cb

Browse files
malformed models on giveup status
1 parent 8a4e857 commit c2610cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sat/smt/arith_solver.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ namespace arith {
632632
else if (v != euf::null_theory_var) {
633633
rational r = get_value(v);
634634
TRACE("arith", tout << mk_pp(o, m) << " v" << v << " := " << r << "\n";);
635-
SASSERT("integer variables should have integer values: " && (ctx.get_config().m_arith_ignore_int || !a.is_int(o) || r.is_int() || m.limit().is_canceled()));
635+
SASSERT("integer variables should have integer values: " && (ctx.get_config().m_arith_ignore_int || !a.is_int(o) || r.is_int() || m_not_handled != nullptr || m.limit().is_canceled()));
636636
if (a.is_int(o) && !r.is_int())
637637
r = floor(r);
638638
value = a.mk_numeral(r, o->get_sort());

0 commit comments

Comments
 (0)