3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-08-30 14:30:14 -07:00
parent 46d602e5de
commit 9a87bb1097

View file

@ -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;
}
}