2
0
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:
AntonBikineev
2014-01-05 23:18:46 +04:00
parent 8e805f02dd
commit e87a281307

View File

@@ -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);
}
//