#5664: [with patch, needs review] Bugs in PermutationGroup_subgroup.__cmp__
--------------------------+-------------------------------------------------
Reporter: SimonKing | Owner: SimonKing
Type: defect | Status: new
Priority: critical | Milestone: sage-3.4.2
Component: group_theory | Keywords: comparison subgroup
--------------------------+-------------------------------------------------
Comment(by wdj):
Is the previous behaviour (without the patch) only wrong in the special
case of the
trivial group? If so, can't that case just be treated separately using an
if/then
statement?
{{{
sage: G = PermutationGroup([[(1,2)]])
sage: H = PermutationGroup([[(1,2)],[(2,3)]])
sage: G<H1 # correct
True
sage: H2 = PermutationGroup([[(1,3)]])
sage: G<H2 # correct
False
sage: H2 = PermutationGroup([[(1)]])
sage: G<H2 # incorrect
True
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5664#comment:16>
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
-~----------~----~----~----~------~----~------~--~---