mp.c: Return the result of `GFN' transformations as `GF'.
[catacomb-python] / 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)