Skip to content

Commit 7ab026c

Browse files
committed
not working very well this morning!
1 parent a6e23f3 commit 7ab026c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CoinUtils/src/CoinLpIO.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2544,9 +2544,8 @@ void CoinLpIO::readLp()
25442544
}
25452545
// Check for duplicates
25462546
for (int iRow = 0;iRow<numberRows_;iRow++) {
2547-
CoinBigIndex startRow = start[iRow];
2548-
CoinBigIndex endRow =
2549-
(iRow<numberRows_-1) ? start[iRow+1] : numberElements_;
2547+
CoinBigIndex startRow = start[iRow]+cnt_obj;
2548+
CoinBigIndex endRow = start[iRow+1]+cnt_obj;
25502549
for (CoinBigIndex j=startRow;j<endRow;j++) {
25512550
int iColumn = ind[j];
25522551
if (!inRow[iColumn])

0 commit comments

Comments
 (0)