From 014276006136dc8a85e0baa282320f2a25468e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Sat, 2 Mar 2019 21:43:11 +0200 Subject: [PATCH] Fix FinitePointGroup constructor Former-commit-id: 708bf7b842fed97609f7b365e1889e4c243e0da8 --- qpms/qpms_c.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qpms/qpms_c.pyx b/qpms/qpms_c.pyx index 2a24556..a6fb4e2 100644 --- a/qpms/qpms_c.pyx +++ b/qpms/qpms_c.pyx @@ -1137,7 +1137,7 @@ cdef class FinitePointGroup: permlist = list(info.permgroup.elements) cdef int order = len(permlist) permindices = {perm: i for i, perm in enumerate(permlist)} # 'invert' permlist - identity = self.permgroup.identity + identity = info.permgroup.identity self.G = malloc(sizeof(qpms_finite_group_t)) if not self.G: raise MemoryError self.G[0].name = make_c_string(info.name)