Skip to content

Commit

Permalink
remove some warnings with clang
Browse files Browse the repository at this point in the history
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
  • Loading branch information
levnach committed Nov 2, 2023
1 parent 08d3a82 commit 14312ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/math/grobner/pdd_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ namespace dd {

solver::scoped_process::~scoped_process() {
if (e) {
pdd const& p = e->poly();
SASSERT(!p.is_val());
SASSERT(!e->poly().is_val());
g.push_equation(processed, e);
}
}
Expand Down
3 changes: 1 addition & 2 deletions src/math/lp/lar_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ namespace lp {

// get dependencies of the corresponding bounds from max_coeffs
u_dependency* lar_solver::get_dependencies_of_maximum(const vector<std::pair<mpq,lpvar>>& max_coeffs) {
const auto& s = this->m_mpq_lar_core_solver.m_r_solver;
// The linear combinations of d_j*x[j] = the term that got maximized, where (d_j, j) is in max_coeffs
// Every j with positive coeff is at its upper bound,
// and every j with negative coeff is at its lower bound: so the sum cannot be increased.
Expand All @@ -326,7 +325,7 @@ namespace lp {
SASSERT (!d_j.is_zero());

TRACE("lar_solver_improve_bounds", tout << "d[" << j << "] = " << d_j << "\n";
s.print_column_info(j, tout););
this->m_mpq_lar_core_solver.m_r_solver.print_column_info(j, tout););
const ul_pair& ul = m_columns_to_ul_pairs[j];
u_dependency * bound_dep;
if (d_j.is_pos())
Expand Down

0 comments on commit 14312ef

Please sign in to comment.