Changeset d45b48efe9 in tspsg for src/tspsolver.h


Ignore:
Timestamp:
Mar 12, 2011, 8:39:19 PM (13 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian
Parents:
7fd1756f1e
git-author:
Oleksii Serdiuk <contacts@…> (03/12/11 20:39:19)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:58)
Message:

Initial Symbian port.

Version 0.1.3.145-beta1, as published in the Nokia Ovi Store.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tspsolver.h

    r7fd1756f1e rd45b48efe9  
    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.