coin-or / Clp.old

This a mirror of the subversion repository on COIN-OR.
https://projects.coin-or.org/Clp
Other
36 stars 20 forks source link

[TRAC] Test failure in OsiClpSolverInterfaceTest.cpp #21

Open qtothec opened 6 years ago

qtothec commented 6 years ago

Moved from TRAC as part of COIN fORgery: https://projects.coin-or.org/Clp/ticket/52

In version 1.14 from svn, make test fails at line 598 of OsiClpSolverInterfaceTest.cpp. I seem to have fixed the test by changing line 598 from

for (uint i = 0 ; i < 8 ; i++) { to

for (uint64_t i = 0 ; i < 8 ; i++) {

bernalde commented 6 years ago

Comment:

r1847 changed uint to int to avoid compilation problems with MS compilers.

I think any int, unsigned or not, is fine here.

Ticket can be closed.