COIN-OR::LEMON - Graph Library

Changeset 2618:6aa6fcaeaea5 in lemon-0.x for lemon/lp_base.h


Ignore:
Timestamp:
09/19/08 17:14:41 (11 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3503
Message:

G++-4.3 compatibility changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lp_base.h

    r2609 r2618  
    4444  {
    4545    typedef std::numeric_limits<T> Lim;
    46     if (Lim::has_infinity && (value == Lim::infinity() || value ==
    47           -Lim::infinity()) ||
    48         (Lim::has_quiet_NaN || Lim::has_signaling_NaN) && value != value)
     46    if ((Lim::has_infinity && (value == Lim::infinity() || value ==
     47                               -Lim::infinity())) ||
     48        ((Lim::has_quiet_NaN || Lim::has_signaling_NaN) && value != value))
    4949    {
    5050      return false;
Note: See TracChangeset for help on using the changeset viewer.