Skip to content

Commit fa5b61b

Browse files
Changed the method for constructing subgroups
1 parent d2f349e commit fa5b61b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sage/groups/libgap_wrapper.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ class ParentLibGAP(SageObject):
357357
[0 6]
358358
) of Special Linear Group of degree 2 over Finite Field in z2 of size 7^2]
359359
"""
360-
return [self.subgroup(gap_subgroup.GeneratorsOfGroup()) for gap_subgroup in self.gap().MinimalNormalSubgroups()]
360+
return [self._subgroup_constructor(gap_subgroup) for gap_subgroup in self.gap().MinimalNormalSubgroups()]
361361

362362
def maximal_normal_subgroups(self):
363363
"""
@@ -366,13 +366,13 @@ class ParentLibGAP(SageObject):
366366
367367
EXAMPLES::
368368
369-
sage: SL(2,GF(49)).maximal_normal_subgroups()
369+
sage: SL(2,GF(49)).minimal_normal_subgroups()
370370
[Subgroup with 1 generators (
371371
[6 0]
372372
[0 6]
373-
) of Special Linear Group of degree 2 over Finite Field in z2 of size 7^2]
373+
) of Special Linear Group of degree 2 over Finite Field in z2 of size 7^2]
374374
"""
375-
return [self.subgroup(gap_subgroup.GeneratorsOfGroup()) for gap_subgroup in self.gap().MaximalNormalSubgroups()]
375+
return [self._subgroup_constructor(gap_subgroup) for gap_subgroup in self.gap().MaximalNormalSubgroups()]
376376

377377
@cached_method
378378
def gens(self):

0 commit comments

Comments
 (0)