mirror of
https://github.com/Z3Prover/z3
synced 2025-07-22 12:22:05 +00:00
Fix bug in iuc_solver::get_unsat_core() that prevented clean cores
This commit is contained in:
parent
d38879e478
commit
619f681d28
1 changed files with 8 additions and 9 deletions
|
@ -215,13 +215,12 @@ void iuc_solver::reset_statistics ()
|
|||
m_learn_core_sw.reset();
|
||||
}
|
||||
|
||||
void iuc_solver::get_unsat_core (expr_ref_vector &core)
|
||||
{
|
||||
void iuc_solver::get_unsat_core (expr_ref_vector &core) {
|
||||
m_solver.get_unsat_core (core);
|
||||
ptr_vector<expr> _core(core.size(), core.c_ptr());
|
||||
undo_proxies_in_core (_core);
|
||||
undo_proxies_in_core (core);
|
||||
}
|
||||
void iuc_solver::undo_proxies_in_core (ptr_vector<expr> &r)
|
||||
|
||||
void iuc_solver::undo_proxies_in_core (expr_ref_vector &r)
|
||||
{
|
||||
app_ref e(m);
|
||||
expr_fast_mark1 bg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue