#20604: failing doctest with coxeter3
-------------------------------------+-------------------------------------
       Reporter:  chapoton           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.3
      Component:  packages:          |   Resolution:
  optional                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Frédéric Chapoton  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  u/chapoton/20604   |  531a1d497d17cfa53bdae7f0f5f014fecdb841d0
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by chapoton):

 Failure comes from the absence of the matrix method:
 {{{
     Failure in _test_codegrees:
     Traceback (most recent call last):
       File "/home/patchbot/sage-patchbot/local/lib/python2.7/site-
 packages/sage/misc/sage_unittest.py", line 283, in run
         test_method(tester = tester)
       File "/home/patchbot/sage-patchbot/local/lib/python2.7/site-
 packages/sage/categories/finite_complex_reflection_groups.py", line 283,
 in _test_codegrees
         codegrees = self.codegrees()
       File "/home/patchbot/sage-patchbot/local/lib/python2.7/site-
 packages/sage/categories/finite_coxeter_groups.py", line 285, in codegrees
         return tuple(d - 2 for d in self.degrees())
       File "/home/patchbot/sage-patchbot/local/lib/python2.7/site-
 packages/sage/categories/finite_coxeter_groups.py", line 259, in degrees
         for I in self.irreducible_component_index_sets()), ())
       File "/home/patchbot/sage-patchbot/local/lib/python2.7/site-
 packages/sage/categories/finite_coxeter_groups.py", line 259, in <genexpr>
         for I in self.irreducible_component_index_sets()), ())
       File "/home/patchbot/sage-patchbot/local/lib/python2.7/site-
 packages/sage/categories/finite_coxeter_groups.py", line 250, in
 degrees_of_irreducible_component
         roots = c.matrix().change_ring(QQbar).charpoly().roots()
       File "sage/structure/element.pyx", line 413, in
 sage.structure.element.Element.__getattr__
 (build/cythonized/sage/structure/element.c:4649)
         return getattr_from_other_class(self, P._abstract_element_class,
 name)
       File "sage/structure/misc.pyx", line 253, in
 sage.structure.misc.getattr_from_other_class
 (build/cythonized/sage/structure/misc.c:1763)
         raise dummy_attribute_error
     AttributeError: 'CoxeterGroup_with_category.element_class' object has
 no attribute 'matrix'
 }}}
 when trying to compute `c.matrix().change_ring(QQbar).charpoly().roots()`

--
Ticket URL: <http://trac.sagemath.org/ticket/20604#comment:3>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to