#4383: composition_series() returns no generators for trivial subgroup
--------------------------------------------+-------------------------------
Reporter: rbeezer | Owner: somebody
Type: defect | Status: new
Priority: minor | Milestone: sage-3.2.1
Component: group_theory | Resolution:
Keywords: composition series, generators |
--------------------------------------------+-------------------------------
Comment (by wdj):
I'm guessing that this this ticket is not named accurately.
It appears the problem isn't with the composition series but with the
order function:
{{{
sage: G = PermutationGroup([])
sage: G.order()
ERROR: An unexpected error occurred while tokenizing input
<snip>
}}}
This will possibly raise the issue of whether the trivial group should be
PermutationGroup([]) (as it is now) or PermutationGroup([()]) (for which
order works). According to Rotman, the group whose generating set is the
empty set is the trivial group, so I think they way we have it is fine.
Therefore, I elected to simply fix this bug in the order method.
Patch attached is based on sage-3.2.alpha1 and pases sage -t.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4383#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---