Opened 4 years ago

Closed 2 years ago

#76 closed defect (migrated)

OsiClpSolverInterface.cpp:7453: bad if test ?

Reported by: dcb314 Owned by: somebody
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:


OsiClpSolverInterface?.cpp:7453:24: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op]

Source code is

if (array[0]>=0

Maybe better code

if (array[0] >= 0 && array[0] <= 2)

Change History (1)

comment:1 Changed 2 years ago by stefan

  • Resolution set to migrated
  • Status changed from new to closed

This ticket has been migrated to GitHub and will be resolved there: ​

Note: See TracTickets for help on using tickets.