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

mbp_array: Fix set_model_completion bug

This commit is contained in:
Arie Gurfinkel 2018-05-31 11:29:39 -07:00
parent cdba0721e7
commit 1e54237880

View file

@ -1147,6 +1147,7 @@ namespace qe {
if (arr_vars.empty()) return;
reset ();
model_evaluator mev(mdl);
mev.set_model_completion(true);
M = &mdl;
m_mev = &mev;
@ -1169,7 +1170,6 @@ 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 ();