#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):
How is this behaviour (after your patch is attached) explained?
{{{
sage: G1 = PermutationGroup([[(1,2,3),(4,5)],[(3,4)]])
sage: G2 = PermutationGroup([[(1,2,3),(4,5)]])
sage: G1 > G2
False
sage: G = SymmetricGroup(5)
sage: G1 = G.subgroup([G([(1,2,3),(4,5)]),G((3,4))])
sage: G2 = G.subgroup([G([(1,2,3),(4,5)])])
sage: G1 > G2
False
}}}
The outout is True for both without your patch.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5664#comment:14>
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
-~----------~----~----~----~------~----~------~--~---