mirror of
https://github.com/boostorg/math.git
synced 2026-01-28 19:32:08 +00:00
Incorrect check is deleted.
modified: boost/math/special_functions/bessel_derivatives.hpp
This commit is contained in:
@@ -184,8 +184,8 @@ inline T cyl_neumann_derivative_imp(T v, T x, const Policy& pol)
|
||||
//
|
||||
if (floor(v) != v)
|
||||
{
|
||||
T eps = boost::math::policies::get_epsilon<T, Policy>();
|
||||
if ((log(eps / 2) > v * log((x/2) * (x/2) / v)) || x < eps)
|
||||
const T eps = boost::math::policies::get_epsilon<T, Policy>();
|
||||
if (log(eps / 2) > v * log((x/2) * (x/2) / v))
|
||||
return boost::math::detail::bessel_y_derivative_small_z_series(v, x, pol);
|
||||
}
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user