3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 01:24: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

@ -431,14 +431,9 @@ expr_ref model::cleanup_expr(top_sort& ts, expr* e, unsigned current_partition)
register_decl(f, new_t);
}
#endif
else {
if (m.is_ite(f)) {
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);
todo.pop_back();