--- branches/development/src/utils/NumericConstant.hpp 2011/11/22 20:38:56 1665 +++ branches/development/src/utils/NumericConstant.hpp 2012/10/22 20:42:10 1808 @@ -44,14 +44,17 @@ * @file NumericConstant.hpp * @author teng lin * @date 11/17/2004 - * @time 23:33am * @version 1.0 */ #ifndef UTILS_NUMERICCONSTANT_HPP #define UTILS_NUMERICCONSTANT_HPP + +#include "config.h" #include #include +#include "config.h" + namespace OpenMD { /** @@ -63,6 +66,7 @@ namespace OpenMD { static const RealType epsilon = std::numeric_limits::epsilon(); static const RealType PI = M_PI; static const RealType TWO_PI = 2.0 * PI; + static const RealType infinity = std::numeric_limits::infinity(); }