py/builtinmath.c: use tgamma() instead of gamma().

gamma() is now deprecated.
This commit is contained in:
xbe 2014-03-23 02:46:10 -07:00
parent 196990b8b1
commit 1ea8fcfae4
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ MATH_FUN_1(trunc, trunc)
MATH_FUN_2(ldexp, ldexp) MATH_FUN_2(ldexp, ldexp)
MATH_FUN_1(erf, erf) MATH_FUN_1(erf, erf)
MATH_FUN_1(erfc, erfc) MATH_FUN_1(erfc, erfc)
MATH_FUN_1(gamma, gamma) MATH_FUN_1(gamma, tgamma)
MATH_FUN_1(lgamma, lgamma) MATH_FUN_1(lgamma, lgamma)
//TODO: factorial, fsum //TODO: factorial, fsum