3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

Fix debug printing in iuc_solver

This commit is contained in:
Arie Gurfinkel 2018-05-16 21:15:40 -07:00
parent ff0f257102
commit 689414d055
2 changed files with 8 additions and 3 deletions

View file

@ -284,7 +284,8 @@ void iuc_solver::get_iuc(expr_ref_vector &core)
// -- old hypothesis reducer while the new one is broken
if (m_old_hyp_reducer)
{
// preprocess proof in order to get a proof which is better suited for unsat-core-extraction
// preprocess proof in order to get a proof which is
// better suited for unsat-core-extraction
if (m_print_farkas_stats)
{
iuc_proof iuc_before(m, res.get(), B);

View file

@ -60,12 +60,16 @@ prop_solver::prop_solver(manager& pm, fixedpoint_params const& p, symbol const&
m_solvers[1] = pm.mk_fresh2();
m_fparams[1] = &pm.fparams2();
m_contexts[0] = alloc(spacer::iuc_solver, *(m_solvers[0]), p.spacer_iuc(),
m_contexts[0] = alloc(spacer::iuc_solver, *(m_solvers[0]),
p.spacer_iuc(),
p.spacer_iuc_arith(),
p.spacer_iuc_print_farkas_stats(),
p.spacer_iuc_old_hyp_reducer(),
p.spacer_iuc_split_farkas_literals());
m_contexts[1] = alloc(spacer::iuc_solver, *(m_solvers[1]), p.spacer_iuc(),
m_contexts[1] = alloc(spacer::iuc_solver, *(m_solvers[1]),
p.spacer_iuc(),
p.spacer_iuc_arith(),
p.spacer_iuc_print_farkas_stats(),
p.spacer_iuc_old_hyp_reducer(),
p.spacer_iuc_split_farkas_literals());