From 452714b53759e3cdeb3cbf2e181b3456386baae9 Mon Sep 17 00:00:00 2001 Message-Id: <452714b53759e3cdeb3cbf2e181b3456386baae9.1715905763.git.mdw@distorted.org.uk> From: Mark Wooding Date: Thu, 20 Apr 2017 01:58:05 +0100 Subject: [PATCH] group.c: Track Catacomb group internals change. Organization: Straylight/Edgeware From: Mark Wooding --- group.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/group.c b/group.c index e591301..1432fc8 100644 --- a/group.c +++ b/group.c @@ -1122,7 +1122,7 @@ static PyObject *pgget_info(PyObject *me, void *hunoz) gctx_prime *gg = (gctx_prime *)GROUP_G(me); dp.p = MP_COPY(gg->mm.m); dp.q = MP_COPY(gg->g.r); - dp.g = mpmont_reduce(&gg->mm, MP_NEW, gg->gen); + dp.g = mpmont_reduce(&gg->mm, MP_NEW, gg->gen.x); return (fginfo_pywrap(&dp, dhinfo_pytype)); } @@ -1199,7 +1199,7 @@ static PyObject *bgget_info(PyObject *me, void *hunoz) gctx_bin *gg = (gctx_bin *)GROUP_G(me); dp.p = MP_COPY(gg->r.p); dp.q = MP_COPY(gg->g.r); - dp.g = MP_COPY(gg->gen); + dp.g = MP_COPY(gg->gen.x); return (fginfo_pywrap(&dp, bindhinfo_pytype)); } -- [mdw]