mirror of
https://github.com/Z3Prover/z3
synced 2025-06-24 06:43:40 +00:00
mbp_array: Fix set_model_completion bug
This commit is contained in:
parent
cdba0721e7
commit
1e54237880
1 changed files with 1 additions and 1 deletions
|
@ -1147,6 +1147,7 @@ namespace qe {
|
||||||
if (arr_vars.empty()) return;
|
if (arr_vars.empty()) return;
|
||||||
reset ();
|
reset ();
|
||||||
model_evaluator mev(mdl);
|
model_evaluator mev(mdl);
|
||||||
|
mev.set_model_completion(true);
|
||||||
M = &mdl;
|
M = &mdl;
|
||||||
m_mev = &mev;
|
m_mev = &mev;
|
||||||
|
|
||||||
|
@ -1169,7 +1170,6 @@ namespace qe {
|
||||||
TRACE ("qe", tout << "Failed to project arrays\n";);
|
TRACE ("qe", tout << "Failed to project arrays\n";);
|
||||||
}
|
}
|
||||||
|
|
||||||
mev.set_model_completion(true);
|
|
||||||
// dealloc
|
// dealloc
|
||||||
for (auto & kv : m_sel_terms) dealloc(kv.m_value);
|
for (auto & kv : m_sel_terms) dealloc(kv.m_value);
|
||||||
m_sel_terms.reset ();
|
m_sel_terms.reset ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue