Skip to content

Commit

Permalink
fix the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
leoneifler committed Mar 15, 2023
1 parent b63e59b commit f173edc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/soplex/changesoplex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -535,12 +535,7 @@ template <class R>
void SPxSolverBase<R>::changeBounds(int i, const R& newLower, const R& newUpper, bool scale)
{
changeLower(i, newLower, scale);

if(EQ(newLower, newUpper))
changeUpper(i, newLower, scale);
else
changeUpper(i, newUpper, scale);

changeUpper(i, newUpper, scale);
}

template <class R>
Expand Down

0 comments on commit f173edc

Please sign in to comment.