diff options
author | xbe <xbe@machine> | 2014-03-23 02:46:10 -0700 |
---|---|---|
committer | xbe <xbe@machine> | 2014-03-23 02:46:10 -0700 |
commit | 1ea8fcfae4cfebaf064f14d2bf1602aba137f820 (patch) | |
tree | a9b5ce04bde7ab6ba32ae9cc925db729fe899323 /py | |
parent | 196990b8b1f438aed1cd4a20517b370b9791d58e (diff) | |
download | micropython-1ea8fcfae4cfebaf064f14d2bf1602aba137f820.tar.gz micropython-1ea8fcfae4cfebaf064f14d2bf1602aba137f820.zip |
py/builtinmath.c: use tgamma() instead of gamma().
gamma() is now deprecated.
Diffstat (limited to 'py')
-rw-r--r-- | py/builtinmath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/builtinmath.c b/py/builtinmath.c index fa6a99f762..b814822531 100644 --- a/py/builtinmath.c +++ b/py/builtinmath.c @@ -57,7 +57,7 @@ MATH_FUN_1(trunc, trunc) MATH_FUN_2(ldexp, ldexp) MATH_FUN_1(erf, erf) MATH_FUN_1(erfc, erfc) -MATH_FUN_1(gamma, gamma) +MATH_FUN_1(gamma, tgamma) MATH_FUN_1(lgamma, lgamma) //TODO: factorial, fsum |