2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-27 07:02:08 +00:00

[Carlson elliptic integrals] Fix missing return statement.

This commit is contained in:
jzmaddock
2015-01-07 18:38:11 +00:00
parent 89fcff4266
commit ef2312dfd5

View File

@@ -72,7 +72,7 @@ T ellint_rd_imp(T x, T y, T z, const Policy& pol)
}
else
{
3 * (ellint_rc_imp(x, y, pol) - sqrt(x) / y) / (2 * (y - x));
return 3 * (ellint_rc_imp(x, y, pol) - sqrt(x) / y) / (2 * (y - x));
}
}
if(x == y)