COIN-OR::LEMON - Graph Library

Changeset 511:06787db0ef5f in lemon-1.2 for lemon/math.h


Ignore:
Timestamp:
02/13/09 16:01:09 (11 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Change LEMON's isnan() to isNaN() for the sake of AIX/xlC

Certain xlC versions implement isnan() as a #define.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/math.h

    r470 r511  
    6161  ///Is should be equivalent with std::isnan(), but it is not
    6262  ///provided by all compilers.
    63   inline bool isnan(double v)
     63  inline bool isNaN(double v)
    6464    {
    6565      return v!=v;
Note: See TracChangeset for help on using the changeset viewer.