Opened 9 years ago

Closed 20 months ago

#50 closed defect (migrated)

Comarison of double with integer

Reported by: fmargot Owned by: somebody
Priority: minor Milestone:
Component: component1 Version:
Keywords: Cc: fmargot@…


In stable/1.14, in the isBinary() method of OsiClpSolverInterface?.cpp around line 2718, a comparison of bounds with 1 and 0 is made without tolerances. But since bounds are double numbers this might create problems. I have an example where a lower bound with value 1e-15 results in the method to return false.

Change History (1)

comment:1 Changed 20 months 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.