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