mirror of
https://github.com/boostorg/math.git
synced 2026-01-27 19:12:08 +00:00
[Beta/Gamma]Fix concept failures caused by previous commit.
This commit is contained in:
@@ -875,7 +875,7 @@ T binomial_ccdf(T n, T k, T x, T y)
|
||||
// we'll have to sum the terms the old fashioned way:
|
||||
for(unsigned i = start - 1; i > k; --i)
|
||||
{
|
||||
result += pow(x, i) * pow(y, n - i) * boost::math::binomial_coefficient<T>(itrunc(n), itrunc(i));
|
||||
result += pow(x, (int)i) * pow(y, n - i) * boost::math::binomial_coefficient<T>(itrunc(n), itrunc(i));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -1579,6 +1579,7 @@ T tgamma_ratio_imp(T x, T y, const Policy& pol)
|
||||
template <class T, class Policy>
|
||||
T gamma_p_derivative_imp(T a, T x, const Policy& pol)
|
||||
{
|
||||
BOOST_MATH_STD_USING
|
||||
//
|
||||
// Usual error checks first:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user