From: Mark Wooding Date: Wed, 13 Nov 2019 02:54:55 +0000 (+0000) Subject: mp.c: Return the result of `GFN' transformations as `GF'. X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/commitdiff_plain/62ce807dc4c91a2e47097ba919e7ae4e0cef9448?hp=b76bb84135462baf905f6240946d3e6d51271a82 mp.c: Return the result of `GFN' transformations as `GF'. And not `MP', which is simply wrong. --- diff --git a/mp.c b/mp.c index e7cb557..e9268e5 100644 --- 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)