mirror of
https://github.com/Z3Prover/z3
synced 2025-09-30 05:09:02 +00:00
remove flush_smc after m_solver.get_model #7855
the SAT model converter is applied by m_solver.get_model() Calling m_sat_mc->flush_smc causes the SAT model converter to be inherited within m_sat_mc and then the model converter gets applied again. This time breaking the model. flush_smc is reserved for incremental use:
This commit is contained in:
parent
d701702735
commit
a7eed2a9f3
1 changed files with 2 additions and 3 deletions
|
@ -1091,10 +1091,9 @@ private:
|
|||
CTRACE(sat, m_sat_mc, m_sat_mc->display(tout););
|
||||
sat::model ll_m = m_solver.get_model();
|
||||
mdl = alloc(model, m);
|
||||
if (m_sat_mc) {
|
||||
m_sat_mc->flush_smc(m_solver, m_map);
|
||||
if (m_sat_mc)
|
||||
(*m_sat_mc)(ll_m);
|
||||
}
|
||||
|
||||
expr_ref_vector var2expr(m);
|
||||
m_map.mk_var_inv(var2expr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue