#5881: __cmp__ is random-ish in root_system/type_dual.py also (analog to #5811)
----------------------+-----------------------------------------------------
 Reporter:  mabshoff  |       Owner:  mhansen   
     Type:  defect    |      Status:  new       
 Priority:  blocker   |   Milestone:  sage-3.4.2
Component:  doctest   |    Keywords:            
----------------------+-----------------------------------------------------
 This is happening with gcc 4.3.3:
 {{{
 sage -t  "devel/sage/sage/combinat/root_system/type_dual.py"
 **********************************************************************
 File "/home/mariah/sage/sage-3.4.1-x86_64-Linux-
 fc/devel/sage/sage/combinat/root
 _system/type_dual.py", line 43:
    sage: [[x.__cmp__(y) for x in ct] for y in ct]
 Expected:
    [[0, 1, -1], [-1, 0, -1], [1, 1, 0]]
 Got:
    [[0, 1, 1], [-1, 0, 1], [1, 1, 0]]
 **********************************************************************
 File "/home/mariah/sage/sage-3.4.1-x86_64-Linux-
 fc/devel/sage/sage/combinat/root
 _system/type_dual.py", line 45:
    sage: sorted(ct)
 Expected:
    [['A', 4], A1xB2, B2xA1]
 Got:
    [A1xB2, B2xA1, ['A', 4]]
 **********************************************************************
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5881>
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