Skip to content

Commit ba68364

Browse files
committed
fix assert to check instead of assign, from #319
1 parent 867b8ce commit ba68364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Clp/src/ClpSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4262,7 +4262,7 @@ static void statistics(ClpSimplex *originalModel, ClpSimplex *model)
42624262
}
42634263
} else {
42644264
int row2 = mapRow[iRow];
4265-
assert(iRow = mapRow[row2]);
4265+
assert(iRow == mapRow[row2]);
42664266
if (rowLower[iRow] != rowLower[row2] || rowLower[row2] != rowLower[iRow])
42674267
good = false;
42684268
CoinBigIndex offset2 = rowStart[row2] - start;

0 commit comments

Comments
 (0)