diff options
Diffstat (limited to 'boost/math/special_functions/detail/bessel_k1.hpp')
-rw-r--r-- | boost/math/special_functions/detail/bessel_k1.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/math/special_functions/detail/bessel_k1.hpp b/boost/math/special_functions/detail/bessel_k1.hpp index 0ae90056cb..2ab191fb49 100644 --- a/boost/math/special_functions/detail/bessel_k1.hpp +++ b/boost/math/special_functions/detail/bessel_k1.hpp @@ -525,7 +525,7 @@ namespace boost { namespace math { namespace detail{ inline T bessel_k1(const T& x) { typedef mpl::int_< - std::numeric_limits<T>::digits == 0 ? + ((std::numeric_limits<T>::digits == 0) || (std::numeric_limits<T>::radix != 2)) ? 0 : std::numeric_limits<T>::digits <= 24 ? 24 : |