#14293: Matrix groups don't satisfy a requirement of finite enumerated sets
----------------------------+-----------------------------------------------
   Reporter:  roed          |             Owner:  joyner  
       Type:  defect        |            Status:  new     
   Priority:  minor         |         Milestone:  sage-5.9
  Component:  group theory  |          Keywords:          
Work issues:                |   Report Upstream:  N/A     
  Reviewers:                |           Authors:          
  Merged in:                |      Dependencies:  #14284  
   Stopgaps:                |  
----------------------------+-----------------------------------------------
 Finite enumerated sets require that their `list` methods and `iter`
 methods return elements in the same order.  This is tested in
 
`sage.categories.enumerated_sets.EnumeratedSets.ParentMethods._test_enumerated_set_iter_list`,
 but the test is not run if the number of elements is larger than a bound.
 #14284 changed that bound from 100 to 729, revealing the following bug:

 {{{
 sage: G = GL(2, 5)
 sage: TestSuite(G).run() # G.max_test_enumerated_set_loop = 500;
 TestSuite(G).run() # before :trac:`14284`
 Traceback (most recent call last):
 ...
 AssertionError: [2 0]
 [0 1] != [0 1]
 [1 0]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14293>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to