#7555: Fix Cayley tables, add operation tables
---------------------------------+------------------------------------------
   Reporter:  rbeezer            |       Owner:  AlexGhitza                   
       Type:  enhancement        |      Status:  needs_review                 
   Priority:  minor              |   Milestone:  sage-4.4                     
  Component:  algebra            |    Keywords:  cayley table, operation table
     Author:  Rob Beezer         |    Upstream:  N/A                          
   Reviewer:  Nicolas M. ThiƩry  |      Merged:                               
Work_issues:                     |  
---------------------------------+------------------------------------------

Comment(by hivert):

 Hi there,

 The patch which is on sage-combinat queue (which seems to have to
 difference
 which the one here) causes the following failure. This is with with
 sage-4.3.4, on sage.saegmath.org and on my laptop (openSuSE 11.1):
 {{{
 sage -t  "4.3.4/devel/sage-combinat/sage/categories/groups.py"
 **********************************************************************
 File "/usr/local/sage/sage-4.3.4/devel/sage-
 combinat/sage/categories/groups.py", line 138:
     sage: T.column_keys()
 Expected:
     [(), (5,6,7), (5,7,6)...(1,4,2,3)(5,7)]
 Got:
     ((), (5,6,7), (5,7,6), (1,2)(3,4), (1,2)(3,4)(5,6,7),
 (1,2)(3,4)(5,7,6), (1,3,2,4)(6,7), (1,3,2,4)(5,6), (1,3,2,4)(5,7),
 (1,4,2,3)(6,7), (1,4,2,3)(5,6), (1,4,2,3)(5,7))
 **********************************************************************
 File "/usr/local/sage/sage-4.3.4/devel/sage-
 combinat/sage/categories/groups.py", line 159:
     sage: M.cayley_table()
 Expected:
     *  a b c d e f
     +------------
     a| c e a f b d
     b| d f b e a c
     c| a b c d e f
     d| b a d c f e
     e| f d e b c a
     f| e c f a d b
 Got:
     *  a b c d e f
      +------------
     a| d c b a f e
     b| e f a b c d
     c| f e d c b a
     d| a b c d e f
     e| b a f e d c
     f| c d e f a b
     <BLANKLINE>
 **********************************************************************
 1 items had failures:
    2 of  35 in __main__.example_5
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /home/averell/.sage//tmp/.doctest_groups.py
          [17.4 s]
 sage -t  sage/categories/magmas.py
 **********************************************************************
 File
 
"/mnt/usb1/scratch/hivert/sage-4.3.4-sage.math.washington.edu-x86_64-Linux/devel
 /sage-combinat/sage/categories/magmas.py", line 195:
     sage: T.column_keys()
 Expected:
     ['a', 'b', 'ab', 'ba']
 Got:
     ('a', 'b', 'ab', 'ba')
 **********************************************************************
 File
 
"/mnt/usb1/scratch/hivert/sage-4.3.4-sage.math.washington.edu-x86_64-Linux/devel
 /sage-combinat/sage/categories/magmas.py", line 254:
     sage: T.column_keys()
 Expected:
     [(), (1,2,3), (1,3,2)]
 Got:
     ((), (1,2,3), (1,3,2))
 **********************************************************************
 1 items had failures:
    2 of  22 in __main__.example_5
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /scratch/hivert/dot_sage/tmp/.doctest_magmas.py
          [3.9 s]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7555#comment:19>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
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