Skip to content

Commit 1ea8fcf

Browse files
committed
py/builtinmath.c: use tgamma() instead of gamma().
gamma() is now deprecated.
1 parent 196990b commit 1ea8fcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/builtinmath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ MATH_FUN_1(trunc, trunc)
5757
MATH_FUN_2(ldexp, ldexp)
5858
MATH_FUN_1(erf, erf)
5959
MATH_FUN_1(erfc, erfc)
60-
MATH_FUN_1(gamma, gamma)
60+
MATH_FUN_1(gamma, tgamma)
6161
MATH_FUN_1(lgamma, lgamma)
6262
//TODO: factorial, fsum
6363

0 commit comments

Comments
 (0)