Skip to content

Commit b08c784

Browse files
committed
Add missing initialScale assignment
1 parent ff30e2b commit b08c784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highs/mip/HighsCutGeneration.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ bool HighsCutGeneration::preprocessBaseInequality(bool& hasUnboundedInts,
900900
for (HighsInt i = 0; i < rowlen; ++i)
901901
maxAbsVal = std::max(std::abs(vals[i]), maxAbsVal);
902902

903-
scale(maxAbsVal);
903+
initialScale = scale(maxAbsVal);
904904

905905
isintegral.resize(rowlen);
906906
for (HighsInt i = 0; i != rowlen; ++i) {

0 commit comments

Comments
 (0)