We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a4e857 commit c2610cbCopy full SHA for c2610cb
src/sat/smt/arith_solver.cpp
@@ -632,7 +632,7 @@ namespace arith {
632
else if (v != euf::null_theory_var) {
633
rational r = get_value(v);
634
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()));
+ 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()));
636
if (a.is_int(o) && !r.is_int())
637
r = floor(r);
638
value = a.mk_numeral(r, o->get_sort());
0 commit comments