#5664: Bugs in PermutationGroup_subgroup.__cmp__
--------------------------+-------------------------------------------------
 Reporter:  SimonKing     |       Owner:  SimonKing          
     Type:  defect        |      Status:  new                
 Priority:  critical      |   Milestone:  sage-3.4.1         
Component:  group_theory  |    Keywords:  comparison subgroup
--------------------------+-------------------------------------------------

Comment(by SimonKing):

 I just observed another detail that I found strange.

 Note that in {{{PermutationGroup_generic.__cmp__(self,right)}}}, the
 return value is {{{right._gap_().__cmp__(self._gap_())}}}, not
 {{{self._gap_().__cmp__(right._gap_())}}}.

 By consequence, we have
 {{{
 sage: G = PermutationGroup([[(1,2)]])
 sage: H = PermutationGroup([[()]])
 sage: G<H
 True
 }}}

 Is this something that we want? I also ask on the mailing list, as this
 seems fundamental to me.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5664#comment:6>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to