[Coin-discuss] OsiClp bug
Laszlo Ladanyi
ladanyi at us.ibm.com
Fri Nov 19 08:17:02 EST 2004
I have fixed the bug and committed the change.
Thanks for finding and reporting it!
--Laci
On Fri, 19 Nov 2004, Ingo Walther wrote:
> In OsiClpSolverInterface::setColSetBounds() the error checking code
> appears to have a bug:
>
> 1862 const int * indexFirst2=indexFirst;
> 1863 while (indexFirst2 != indexLast) {
> 1864 const int iColumn=*indexFirst++;
> ^^^^^^^^^^^^^
> 1865 if (iColumn<0||iColumn>=n) {
> 1866 indexError(iColumn,"setColSetBounds");
> 1867 }
> 1868 }
>
> The marked expression should read "*indexFirst2++".
> Same issue in OsiClpSolverInterface::setRowSetBounds(), line 1941.
>
> Ingo
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at www-124.ibm.com
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss
>
More information about the Coin-discuss
mailing list