Changeset 5cbcd091ed in tspsg for src/tspsolver.h


Ignore:
Timestamp:
Mar 13, 2011, 9:23:53 PM (13 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
5631fb4d50
Parents:
8dcf4701e6
git-author:
Oleksii Serdiuk <contacts@…> (03/13/11 21:23:53)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:58)
Message:

Fixes and updates to Symbian SIS package generation rules and some small Symbian-related code fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tspsolver.h

    r8dcf4701e6 r5cbcd091ed  
    3636 * \brief This value means infinity :-)
    3737 *
    38  *  Some libraries already have \c INFINITY defined.
    39  *  We need to redefine it for the \c INFINITY to always have the same value.
     38 *  Define \c INFINITY if it's not already defined.
    4039 */
    41 #ifdef INFINITY
    42 #   undef INFINITY
     40#ifndef INFINITY
     41#   define INFINITY std::numeric_limits<double>::infinity()
    4342#endif
    44 #define INFINITY std::numeric_limits<double>::infinity()
    4543
    4644/*!
Note: See TracChangeset for help on using the changeset viewer.