|
Boost-Commit : |
From: john_at_[hidden]
Date: 2007-10-03 05:32:37
Author: johnmaddock
Date: 2007-10-03 05:32:35 EDT (Wed, 03 Oct 2007)
New Revision: 39667
URL: http://svn.boost.org/trac/boost/changeset/39667
Log:
Added some more descriptive information to error messages.
Text files modified:
sandbox/math_toolkit/boost/math/special_functions/beta.hpp | 4 ++--
sandbox/math_toolkit/boost/math/special_functions/detail/bessel_ik.hpp | 6 +++---
sandbox/math_toolkit/boost/math/special_functions/detail/bessel_jy.hpp | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
Modified: sandbox/math_toolkit/boost/math/special_functions/beta.hpp
==============================================================================
--- sandbox/math_toolkit/boost/math/special_functions/beta.hpp (original)
+++ sandbox/math_toolkit/boost/math/special_functions/beta.hpp 2007-10-03 05:32:35 EDT (Wed, 03 Oct 2007)
@@ -478,7 +478,7 @@
ibeta_series_t<T> s(a, b, x, result);
boost::uintmax_t max_iter = policies::get_max_series_iterations<Policy>();
result = boost::math::tools::sum_series(s, boost::math::policies::digits<T, Policy>(), 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 @@
ibeta_series_t<T> s(a, b, x, result);
boost::uintmax_t max_iter = policies::get_max_series_iterations<Policy>();
result = boost::math::tools::sum_series(s, boost::math::policies::digits<T, Policy>(), 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;
}
Modified: sandbox/math_toolkit/boost/math/special_functions/detail/bessel_ik.hpp
==============================================================================
--- sandbox/math_toolkit/boost/math/special_functions/detail/bessel_ik.hpp (original)
+++ sandbox/math_toolkit/boost/math/special_functions/detail/bessel_ik.hpp 2007-10-03 05:32:35 EDT (Wed, 03 Oct 2007)
@@ -76,7 +76,7 @@
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 @@
}
}
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 @@
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<T>() / (2 * x)) * exp(-x) / S;
*Kv1 = *Kv * (0.5f + v + x + (v * v - 0.25f) * f) / x;
Modified: sandbox/math_toolkit/boost/math/special_functions/detail/bessel_jy.hpp
==============================================================================
--- sandbox/math_toolkit/boost/math/special_functions/detail/bessel_jy.hpp (original)
+++ sandbox/math_toolkit/boost/math/special_functions/detail/bessel_jy.hpp 2007-10-03 05:32:35 EDT (Wed, 03 Oct 2007)
@@ -88,7 +88,7 @@
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 @@
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 @@
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);
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk