3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00

array_mbp: turn on model completion

This commit is contained in:
Arie Gurfinkel 2018-05-30 13:45:48 -07:00
parent 0452bc3d43
commit b50da20531

View file

@ -631,6 +631,7 @@ namespace qe {
void operator () (model& mdl, app_ref_vector& arr_vars, expr_ref& fml, app_ref_vector& aux_vars) {
reset ();
model_evaluator mev(mdl);
mev.set_model_completion(true);
M = &mdl;
m_mev = &mev;
@ -857,6 +858,7 @@ namespace qe {
reset ();
model_evaluator mev(mdl);
mev.set_model_completion(true);
M = &mdl;
m_mev = &mev;
m_reduce_all_selects = reduce_all_selects;
@ -1167,6 +1169,7 @@ namespace qe {
TRACE ("qe", tout << "Failed to project arrays\n";);
}
mev.set_model_completion(true);
// dealloc
for (auto & kv : m_sel_terms) dealloc(kv.m_value);
m_sel_terms.reset ();