Skip to content

Commit

Permalink
#6429 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Jan 4, 2023
1 parent aa080a6 commit ef10119
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/math/simplex/model_based_opt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ namespace opt {


for (unsigned v : vs) {
def v_def = project(v, false);
def v_def = project(v, compute_def);
if (compute_def)
eliminate(v, v_def);
}
Expand Down Expand Up @@ -1739,7 +1739,7 @@ namespace opt {
for (unsigned i = 0; i < num_vars; ++i) {
m_result.push_back(project(vars[i], compute_def));
eliminate(vars[i], m_result.back());
TRACE("opt", display(tout << "After projecting: v" << vars[i] << "\n"););
TRACE("opt", display(tout << "After projecting: v" << vars[i] << "\n" << m_result << "\n"););
}
return m_result;
}
Expand Down
2 changes: 1 addition & 1 deletion src/sat/sat_solver/sat_smt_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ class sat_smt_solver : public solver {
m_preprocess_state(*this),
m_preprocess(m, p, m_preprocess_state),
m_trail(m_preprocess_state.m_trail),
m_dep(m, m_trail),
m_solver(p, m.limit()),
m_dep(m, m_trail),
m_assumptions(m), m_core(m), m_ors(m), m_aux_fmls(m), m_internalized_fmls(m),
m_map(m),
m_mc(alloc(generic_model_converter, m, "sat-smt-solver")) {
Expand Down
6 changes: 3 additions & 3 deletions src/sat/smt/euf_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ namespace euf {
m_unhandled_functions(m),
m_to_m(&m),
m_to_si(&si),
m_values(m),
m_clause_visitor(m),
m_smt_proof_checker(m, p),
m_clause(m),
m_expr_args(m)
m_clause(m),
m_expr_args(m),
m_values(m)
{
updt_params(p);
m_relevancy.set_enabled(get_config().m_relevancy_lvl > 2);
Expand Down

0 comments on commit ef10119

Please sign in to comment.