Skip to content

Commit d2f349e

Browse files
Corrected some errors
1 parent 297e8b2 commit d2f349e

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/sage/groups/libgap_wrapper.pyx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -351,10 +351,11 @@ class ParentLibGAP(SageObject):
351351
352352
EXAMPLES::
353353
354-
sage: G = PermutationGroup([(1,2,3),(4,5)])
355-
sage: G.minimal_normal_subgroups()
356-
[Subgroup generated by [(4,5)] of (Permutation Group with generators [(4,5), (1,2,3)]),
357-
Subgroup generated by [(1,2,3)] of (Permutation Group with generators [(4,5), (1,2,3)])]
354+
sage: SL(2,GF(49)).minimal_normal_subgroups()
355+
[Subgroup with 1 generators (
356+
[6 0]
357+
[0 6]
358+
) of Special Linear Group of degree 2 over Finite Field in z2 of size 7^2]
358359
"""
359360
return [self.subgroup(gap_subgroup.GeneratorsOfGroup()) for gap_subgroup in self.gap().MinimalNormalSubgroups()]
360361

@@ -365,12 +366,13 @@ class ParentLibGAP(SageObject):
365366
366367
EXAMPLES::
367368
368-
sage: G = PermutationGroup([(1,2,3),(4,5)])
369-
sage: G.maximal_normal_subgroups()
370-
[Subgroup generated by [(1,2,3)] of (Permutation Group with generators [(4,5), (1,2,3)]),
371-
Subgroup generated by [(4,5)] of (Permutation Group with generators [(4,5), (1,2,3)])]
369+
sage: SL(2,GF(49)).maximal_normal_subgroups()
370+
[Subgroup with 1 generators (
371+
[6 0]
372+
[0 6]
373+
) of Special Linear Group of degree 2 over Finite Field in z2 of size 7^2]
372374
"""
373-
return [self.subgroup(gap_group=gap_subgroup) for gap_subgroup in self.gap().MaximalNormalSubgroups()]
375+
return [self.subgroup(gap_subgroup.GeneratorsOfGroup()) for gap_subgroup in self.gap().MaximalNormalSubgroups()]
374376

375377
@cached_method
376378
def gens(self):

0 commit comments

Comments
 (0)