From 08f203e353b62c1427554461e78d2e49e9552725 Mon Sep 17 00:00:00 2001 From: Dima Pasechnik Date: Fri, 4 Oct 2024 11:50:37 +0100 Subject: [PATCH] use a(b), not b.NormalSubgroups() Co-authored-by: Martin Rubey --- src/sage/libs/gap/element.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/libs/gap/element.pyx b/src/sage/libs/gap/element.pyx index ffab3697999..c24408f401a 100644 --- a/src/sage/libs/gap/element.pyx +++ b/src/sage/libs/gap/element.pyx @@ -2451,7 +2451,7 @@ cdef class GapElement_Function(GapElement): sage: a = libgap.eval('a') sage: b = libgap.eval('b') sage: libgap.collect() - sage: [x.StructureDescription() for x in sorted(b.NormalSubgroups())] + sage: [x.StructureDescription() for x in sorted(a(b))] ["1", "S4", "A4", "C2 x C2"] Not every ``GapElement`` is callable::