diff --git a/include/boost/geometry/util/math.hpp b/include/boost/geometry/util/math.hpp index 723a38edf..bf55a1819 100644 --- a/include/boost/geometry/util/math.hpp +++ b/include/boost/geometry/util/math.hpp @@ -442,7 +442,7 @@ struct scaled_epsilon { static inline T apply(T const& val) { - return (std::max)(math::abs(val), T(1)) + return (std::max)(abs::apply(val), T(1)) * std::numeric_limits::epsilon(); } };