From 0addcbb330c002f2078f3d31ae787842dc49ef16 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Sat, 22 Aug 2015 17:36:54 +0200 Subject: [PATCH] [math] In detail::scaled_epsilon call detail::abs instead of math::abs. --- include/boost/geometry/util/math.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } };