coin-or / Cgl

Cut Generator Library
Other
24 stars 14 forks source link

CglRedSplit unsafe mix of type 'bool' and type 'int' in operation. #14

Closed svigerske closed 5 years ago

svigerske commented 5 years ago

Issue created by migration from Trac.

Original creator: @jpfasano

Original creation time: 2007-04-11 15:20:27

Assignee: somebody

MSVS V8 compiler reports:

coin-cbc\cgl\src\cglredsplit\cglredsplit.cpp(1134) : warning C4805: '!=' : unsafe mix of type 'bool' and type 'int' in operation

The specific line referred to is:

if(solver->optimalBasisIsAvailable() != rsData.getOptimalBasisIsAvailable()) {
svigerske commented 5 years ago

Comment by fmargot created at 2007-05-25 12:33:50

Resolution: fixed