From 00714c1a6dfdaf5294f466700dafc02d4422f9f4 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Wed, 9 Sep 2015 15:06:29 +0200 Subject: [PATCH] Fix type passed into BOOST_MATH_NOEXCEPT() in specialization of epsilon(). --- include/boost/math/tools/precision.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/math/tools/precision.hpp b/include/boost/math/tools/precision.hpp index c867707c03..38c73599b5 100644 --- a/include/boost/math/tools/precision.hpp +++ b/include/boost/math/tools/precision.hpp @@ -169,7 +169,7 @@ inline BOOST_MATH_CONSTEXPR T epsilon(const mpl::true_& BOOST_MATH_APPEND_EXPLIC #if defined(__GNUC__) && ((LDBL_MANT_DIG == 106) || (__LDBL_MANT_DIG__ == 106)) template <> -inline BOOST_MATH_CONSTEXPR long double epsilon(const mpl::true_& BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE(long double)) BOOST_MATH_NOEXCEPT(T) +inline BOOST_MATH_CONSTEXPR long double epsilon(const mpl::true_& BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE(long double)) BOOST_MATH_NOEXCEPT(long double) { // numeric_limits on Darwin (and elsewhere) tells lies here: // the issue is that long double on a few platforms is