diff --git a/include/boost/math/special_functions/beta.hpp b/include/boost/math/special_functions/beta.hpp index d7d543c92..e3217bac1 100644 --- a/include/boost/math/special_functions/beta.hpp +++ b/include/boost/math/special_functions/beta.hpp @@ -478,7 +478,7 @@ T ibeta_series(T a, T b, T x, T s0, const L&, bool normalised, T* p_derivative, ibeta_series_t s(a, b, x, result); boost::uintmax_t max_iter = policies::get_max_series_iterations(); result = boost::math::tools::sum_series(s, boost::math::policies::digits(), max_iter, s0); - policies::check_series_iterations("boost::math::ibeta<%1%>(%1%, %1%, %1%)", max_iter, pol); + policies::check_series_iterations("boost::math::ibeta<%1%>(%1%, %1%, %1%) in ibeta_series (with lanczos)", max_iter, pol); return result; } // @@ -558,7 +558,7 @@ T ibeta_series(T a, T b, T x, T s0, const boost::math::lanczos::undefined_lanczo ibeta_series_t s(a, b, x, result); boost::uintmax_t max_iter = policies::get_max_series_iterations(); result = boost::math::tools::sum_series(s, boost::math::policies::digits(), max_iter, s0); - policies::check_series_iterations("boost::math::ibeta<%1%>(%1%, %1%, %1%)", max_iter, pol); + policies::check_series_iterations("boost::math::ibeta<%1%>(%1%, %1%, %1%) in ibeta_series (without lanczos)", max_iter, pol); return result; } diff --git a/include/boost/math/special_functions/detail/bessel_ik.hpp b/include/boost/math/special_functions/detail/bessel_ik.hpp index 8dbd76ab4..c3f489933 100644 --- a/include/boost/math/special_functions/detail/bessel_ik.hpp +++ b/include/boost/math/special_functions/detail/bessel_ik.hpp @@ -76,7 +76,7 @@ int temme_ik(T v, T x, T* K, T* K1, const Policy& pol) break; } } - policies::check_series_iterations("boost::math::bessel_ik<%1%>(%1%,%1%)", k, pol); + policies::check_series_iterations("boost::math::bessel_ik<%1%>(%1%,%1%) in temme_ik", k, pol); *K = sum; *K1 = 2 * sum1 / x; @@ -123,7 +123,7 @@ int CF1_ik(T v, T x, T* fv, const Policy& pol) } } BOOST_MATH_INSTRUMENT_VARIABLE(k); - policies::check_series_iterations("boost::math::bessel_ik<%1%>(%1%,%1%)", k, pol); + policies::check_series_iterations("boost::math::bessel_ik<%1%>(%1%,%1%) in CF1_ik", k, pol); *fv = f; @@ -188,7 +188,7 @@ int CF2_ik(T v, T x, T* Kv, T* Kv1, const Policy& pol) break; } } - policies::check_series_iterations("boost::math::bessel_ik<%1%>(%1%,%1%)", k, pol); + policies::check_series_iterations("boost::math::bessel_ik<%1%>(%1%,%1%) in CF2_ik", k, pol); *Kv = sqrt(pi() / (2 * x)) * exp(-x) / S; *Kv1 = *Kv * (0.5f + v + x + (v * v - 0.25f) * f) / x; diff --git a/include/boost/math/special_functions/detail/bessel_jy.hpp b/include/boost/math/special_functions/detail/bessel_jy.hpp index e339b7d71..c01a79f1e 100644 --- a/include/boost/math/special_functions/detail/bessel_jy.hpp +++ b/include/boost/math/special_functions/detail/bessel_jy.hpp @@ -88,7 +88,7 @@ int temme_jy(T v, T x, T* Y, T* Y1, const Policy& pol) break; } } - policies::check_series_iterations("boost::math::bessel_jy<%1%>(%1%,%1%)", k, pol); + policies::check_series_iterations("boost::math::bessel_jy<%1%>(%1%,%1%) in temme_jy", k, pol); *Y = -sum; *Y1 = -2 * sum1 / x; @@ -130,7 +130,7 @@ int CF1_jy(T v, T x, T* fv, int* sign, const Policy& pol) if (abs(delta - 1.0L) < tolerance) { break; } } - policies::check_series_iterations("boost::math::bessel_jy<%1%>(%1%,%1%)", k / 100, pol); + policies::check_series_iterations("boost::math::bessel_jy<%1%>(%1%,%1%) in CF1_jy", k / 100, pol); *fv = -f; *sign = s; // sign of denominator @@ -184,7 +184,7 @@ int CF2_jy(T v, T x, T* p, T* q, const Policy& pol) f *= delta; if (abs(delta - one) < tolerance) { break; } } - policies::check_series_iterations("boost::math::bessel_jy<%1%>(%1%,%1%)", k, pol); + policies::check_series_iterations("boost::math::bessel_jy<%1%>(%1%,%1%) in CF2_jy", k, pol); *p = real(f); *q = imag(f);