Skip to content

Commit 268909e

Browse files
committed
sign should be +1.0 in cleanPrimalSolution
1 parent d5b99aa commit 268909e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClpSimplex.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11087,7 +11087,7 @@ int ClpSimplex::cleanPrimalSolution(double exactMultiple)
1108711087
nBad++;
1108811088
}
1108911089
memset(tempRow, 0, numberRows_ * sizeof(double));
11090-
times(-1.0, tempColumn, tempRow);
11090+
times(1.0, tempColumn, tempRow);
1109111091
for (int i = 0; i < numberRows_; i++) {
1109211092
double value = tempRow[i];
1109311093
if (value < rowLower_[i] - allowedError || value > rowUpper_[i] + allowedError)

0 commit comments

Comments
 (0)