COIN-OR::LEMON - Graph Library

Opened 15 years ago

Closed 15 years ago

#20 closed defect (fixed)

random.h fails to compile on Cygwin

Reported by: Alpar Juttner Owned by: Alpar Juttner
Priority: major Milestone: LEMON 1.0 release
Component: core Version: hg main
Keywords: Cc:
Revision id:


lemon/random.h fails to compile on Cygwin, because #include<cmath> doesn't define M_E.

This bug appears in [1113f6d12c0c] and also in svn trunk -r3441. In svn trunk similar bugs also appear at other places due to the missing M_X constants.

Change History (2)

comment:1 Changed 15 years ago by Alpar Juttner

Please have a look at this for a possible solution:

comment:2 Changed 15 years ago by Alpar Juttner

Resolution: fixed
Status: newclosed

Solved in [a315a588a20d] by adding a header file lemon/math.h containing some useful mathematical constants.

Note: See TracTickets for help on using tickets.