diff options
Diffstat (limited to 'src/core/common.hpp')
-rw-r--r-- | src/core/common.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/common.hpp b/src/core/common.hpp index fd219bf..a3e682e 100644 --- a/src/core/common.hpp +++ b/src/core/common.hpp @@ -1,6 +1,10 @@ #ifndef COMMON_H #define COMMON_H +#include <limits> + #define ZERO_APPROX 1e-6 +#define INFINITY std::numeric_limits<double>::infinity() + #endif |