Skip to content

Commit 87f79a5

Browse files
committed
Merge pull request #14 from awulkiew/patch-1
Fix type passed into BOOST_MATH_NOEXCEPT() in specialization of epsilon().
2 parents ce198ce + 00714c1 commit 87f79a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/boost/math/tools/precision.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ inline BOOST_MATH_CONSTEXPR T epsilon(const mpl::true_& BOOST_MATH_APPEND_EXPLIC
169169

170170
#if defined(__GNUC__) && ((LDBL_MANT_DIG == 106) || (__LDBL_MANT_DIG__ == 106))
171171
template <>
172-
inline BOOST_MATH_CONSTEXPR long double epsilon<long double>(const mpl::true_& BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE(long double)) BOOST_MATH_NOEXCEPT(T)
172+
inline BOOST_MATH_CONSTEXPR long double epsilon<long double>(const mpl::true_& BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE(long double)) BOOST_MATH_NOEXCEPT(long double)
173173
{
174174
// numeric_limits on Darwin (and elsewhere) tells lies here:
175175
// the issue is that long double on a few platforms is

0 commit comments

Comments
 (0)