Changeset 9cda6e0f5d in tspsg for src/globals.h
- Timestamp:
- Apr 25, 2010, 4:36:27 PM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- ca3d2a30fa
- Parents:
- 345e7b6132
- git-author:
- Oleksii Serdiuk <contacts@…> (04/25/10 16:36:27)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:41:31)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/globals.h
r345e7b6132 r9cda6e0f5d 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.