From f173edc9fd1444506dde08a6fa9415502aef9f36 Mon Sep 17 00:00:00 2001 From: Leon Eifler Date: Wed, 15 Mar 2023 11:16:12 +0100 Subject: [PATCH] fix the bug --- src/soplex/changesoplex.hpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/soplex/changesoplex.hpp b/src/soplex/changesoplex.hpp index c3bba965..f9ce0c34 100644 --- a/src/soplex/changesoplex.hpp +++ b/src/soplex/changesoplex.hpp @@ -535,12 +535,7 @@ template void SPxSolverBase::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