3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-30 15:00:08 +00:00

cleanup bit2bool from models #3847

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-08 03:05:11 -07:00
parent 5c9fd90031
commit 8e6bb30c82
3 changed files with 15 additions and 22 deletions

View file

@ -1121,13 +1121,7 @@ expr_ref pred_transformer::get_cover_delta(func_decl* p_orig, int level)
// adjust result according to model converter.
unsigned arity = m_head->get_arity();
model_ref md = alloc(model, m);
if (arity == 0) {
md->register_decl(m_head, result);
} else {
func_interp* fi = alloc(func_interp, m, arity);
fi->set_else(result);
md->register_decl(m_head, fi);
}
md->register_decl(m_head, result);
model_converter_ref mc = ctx.get_model_converter();
apply(mc, md);
if (p_orig->get_arity() == 0) {