mp.c: Return the result of `GFN' transformations as `GF'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 13 Nov 2019 02:54:55 +0000 (02:54 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 22 Nov 2019 22:18:11 +0000 (22:18 +0000)
And not `MP', which is simply wrong.

mp.c

diff --git a/mp.c b/mp.c
index e7cb557..e9268e5 100644 (file)
--- a/mp.c
+++ b/mp.c
@@ -2403,7 +2403,7 @@ static PyObject *gfnget_beta(PyObject *me, void *hunoz)
   end:                                                                 \
     mp_drop(xx);                                                       \
     if (!z) return (0);                                                        \
-    return (mp_pywrap(z));                                             \
+    return (gf_pywrap(z));                                             \
   }
 XFORMOP(pton, PTON)
 XFORMOP(ntop, NTOP)