3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 09:34:08 +00:00

fix to_app crash

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-10-12 18:26:11 -07:00
parent a921b4ff4a
commit f18b4430c3

View file

@ -304,9 +304,9 @@ func_interp * bv2fpa_converter::convert_func_interp(model_core * mc, func_decl *
}
}
app_ref bv_els(m);
bv_els = to_app(bv_fi->get_else());
if (bv_els != nullptr) {
expr_ref bv_els(m);
bv_els = bv_fi->get_else();
if (bv_els) {
expr_ref ft_els = rebuild_floats(mc, rng, bv_els);
m_th_rw(ft_els);
result->set_else(ft_els);