From b9ee6f0d5132a7fdce29cc69a82d550cecd6aa29 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Sun, 24 May 2015 13:48:22 +0200 Subject: [PATCH] [math] Include missing header and add missing namespace. --- include/boost/geometry/util/math.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/boost/geometry/util/math.hpp b/include/boost/geometry/util/math.hpp index c86fb3821..908bbb6d9 100644 --- a/include/boost/geometry/util/math.hpp +++ b/include/boost/geometry/util/math.hpp @@ -26,9 +26,7 @@ #include #include -#ifdef BOOST_GEOMETRY_SQRT_CHECK_FINITENESS #include -#endif // BOOST_GEOMETRY_SQRT_CHECK_FINITENESS #include #include #include @@ -162,8 +160,8 @@ struct equals return true; } - bool const a_inf = isinf(a); - bool const b_inf = isinf(b); + bool const a_inf = boost::math::isinf(a); + bool const b_inf = boost::math::isinf(b); if (a_inf != b_inf) { // If a is INF and b is 0, the expression below returns true, but