Skip to content

Commit e28045d

Browse files
committed
fix assert to check instead of assign
1 parent 372b733 commit e28045d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClpSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4292,7 +4292,7 @@ static void statistics(ClpSimplex * originalModel, ClpSimplex * model) {
42924292
}
42934293
} else {
42944294
int row2 = mapRow[iRow];
4295-
assert(iRow = mapRow[row2]);
4295+
assert(iRow == mapRow[row2]);
42964296
if (rowLower[iRow] != rowLower[row2] ||
42974297
rowLower[row2] != rowLower[iRow])
42984298
good = false;

0 commit comments

Comments
 (0)