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

fix model generation for tc/po

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-04-11 11:42:55 -07:00
parent 6fee9b90cb
commit 3c0e8cb182

View file

@ -432,12 +432,7 @@ expr_ref model::cleanup_expr(top_sort& ts, expr* e, unsigned current_partition)
} }
#endif #endif
else { else {
if (m.is_ite(f)) { new_t = ts.m_rewrite.mk_app(f, args.size(), args.c_ptr());
new_t = m.mk_app(f, args.size(), args.c_ptr());
}
else {
new_t = ts.m_rewrite.mk_app(f, args.size(), args.c_ptr());
}
} }
if (t != new_t.get()) trail.push_back(new_t); if (t != new_t.get()) trail.push_back(new_t);