Changeset 107 in tspsg-svn for trunk/src/globals.h
- Timestamp:
- Apr 25, 2010, 4:36:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/globals.h
r103 r107 32 32 #include <QtCore> 33 33 #include <QtGui> 34 #include <limits>35 34 36 35 // Version info … … 40 39 // TSPSG Defaults 41 40 #include "defaults.h" 41 // TSPSolver 42 #include "tspsolver.h" 42 43 #ifdef Q_OS_WIN32 43 44 // Vista/7 Eyecandy … … 80 81 #define ZKT_VERSION quint8(1) 81 82 82 /*!83 * \def INFINITY84 * \brief This value means infinity :-)85 *86 * Some libraries already have \c INFINITY defined.87 * We need to redefine it for the \c INFINITY to always have the same value.88 */89 #ifdef INFINITY90 #undef INFINITY91 #endif92 #define INFINITY std::numeric_limits<double>::infinity()93 83 //! This string represents infinite value in the table 94 84 #define INFSTR "---"
Note: See TracChangeset
for help on using the changeset viewer.