Skip to content

Commit

Permalink
cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
levnach committed Oct 8, 2023
1 parent 3aac528 commit 1ba0f5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/math/lp/lar_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ namespace lp {

case column_type::lower_bound: {
const auto& l = lcs.m_r_lower_bounds()[j];
if (val != lcs.m_r_lower_bounds()[j]) {
if (val != l) {
set_value_for_nbasic_column(j, l);
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/math/lp/monomial_bounds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ namespace nla {
rational monomial_bounds::fixed_var_product(monic const& m) {
rational r(1);
for (lpvar v : m) {
// we have to use the column bounds here, because the value of the column value may be outside the bounds
// we have to use the column bounds here, because the column value may be outside the bounds
if (c().var_is_fixed(v))
r *= c().lra.get_lower_bound(v).x;
}
Expand Down

0 comments on commit 1ba0f5a

Please sign in to comment.