You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some trouble in converting elements in AbelianGroup to gap elements
For example we can do this;
sage: G = SymmetricGroup(5)
sage: g = G.list()[2]
sage: H = gap(G)
sage: g in H
True
But not this;
sage: G = AbelianGroup([2,2])
sage: g = G.list()[2]
sage: H = gap(G)
sage: g in H
[...]
TypeError: Gap produced error output
Variable: 'f0' must have a value
Similarly we can't go back the other way around.
That is we can do this;
sage: G = SymmetricGroup(5)
sage: H = gap(G)
sage: r = H.ConjugacyClasses()[2].Representative()
sage: type(r)
<class 'sage.interfaces.gap.GapElement'>
sage: r in G
True
sage: G(r)
(1,2)
But not this
sage: G = AbelianGroup([2,2])
sage: H = gap(G)
sage: r = H.ConjugacyClasses()[2].Representative()
sage: r
f1
sage: r in G
False
sage: G(r)
[...]
TypeError: Argument x (= f1) is of wrong type.
Some trouble in converting elements in AbelianGroup to gap elements
For example we can do this;
But not this;
Similarly we can't go back the other way around.
That is we can do this;
But not this
Component: group theory
Keywords: AbelianGroup
Issue created by migration from https://trac.sagemath.org/ticket/6292
The text was updated successfully, but these errors were encountered: