Fix FinitePointGroup constructor

Former-commit-id: 708bf7b842fed97609f7b365e1889e4c243e0da8
This commit is contained in:
Marek Nečada 2019-03-02 21:43:11 +02:00
parent fdaeabf90b
commit 0142760061
1 changed files with 1 additions and 1 deletions

View File

@ -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 = <qpms_finite_group_t *>malloc(sizeof(qpms_finite_group_t))
if not self.G: raise MemoryError
self.G[0].name = make_c_string(info.name)