| # | Line 50 | Line 50 | |
|---|---|---|
| 50 | ||
| 51 | #ifndef UTILS_NUMERICCONSTANT_HPP | |
| 52 | #define UTILS_NUMERICCONSTANT_HPP | |
| 53 | + | |
| 54 | + | #include "config.h" | 
| 55 | #include <cmath> | |
| 56 | #include <limits> | |
| 57 | + | #include "config.h" | 
| 58 | + | |
| 59 | namespace OpenMD { | |
| 60 | ||
| 61 | /** | |
| # | Line 63 | Line 67 | namespace OpenMD { | |
| 67 | static const RealType epsilon = std::numeric_limits<RealType>::epsilon(); | |
| 68 | static const RealType PI = M_PI; | |
| 69 | static const RealType TWO_PI = 2.0 * PI; | |
| 70 | + | static const RealType infinity = std::numeric_limits<RealType>::infinity(); | 
| 71 | } | |
| 72 | ||
| 73 | ||
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |