You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!(boost::math::isfinite)(bessel_cache[cache_size - 1]))
95
+
{
91
96
policies::raise_evaluation_error("hypergeometric_1F1_AS_13_3_7_tricomi_series<%1%>", "Expected finite Bessel function result but got %1%", bessel_cache[cache_size - 1], pol);
97
+
// Exceptions are off if we get here, just fill the cache with NaN's and we'll let this method fail and fallback later:
if ((boost::math::isnan)(bessel_cache[cache_size - 1]) || (fabs(bessel_cache[cache_size - 1]) >= tools::max_value<T>()))
103
+
{
95
104
policies::raise_evaluation_error("hypergeometric_1F1_AS_13_3_7_tricomi_series<%1%>", "Expected finite Bessel function result but got %1%", bessel_cache[cache_size - 1], pol);
105
+
// Exceptions are off if we get here, just fill the cache with NaN's and we'll let this method fail and fallback later:
policies::raise_evaluation_error("hypergeometric_1F1_AS_13_3_7_tricomi_series<%1%>", "Expected finite Bessel function result but got %1%", bessel_cache[cache_size - 1], pol);
113
+
// Exceptions are off if we get here, just fill the cache with NaN's and we'll let this method fail and fallback later:
0 commit comments