mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
parent
46d602e5de
commit
9a87bb1097
|
@ -457,7 +457,7 @@ struct evaluator_cfg : public default_rewriter_cfg {
|
|||
if (interp) {
|
||||
var_subst vs(m, false);
|
||||
result = vs(fi->get_interp(), num, args);
|
||||
result = m.mk_ite(m.mk_eq(m_au.mk_real(rational(0)), args[1]), result, m.mk_app(f, num, args));
|
||||
result = m.mk_ite(m.mk_eq(m_au.mk_numeral(rational(0), args[1]->get_sort()), args[1]), result, m.mk_app(f, num, args));
|
||||
return BR_DONE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue