#19397: Add support for homogeneous components of a filtered module
-------------------------------------+-------------------------------------
       Reporter:  tscrim             |        Owner:  sage-combinat
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.10
      Component:  categories         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Travis Scrimshaw   |    Reviewers:  John Palmieri
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/categories/homogeneous_components-19397|  
068adf38ed5520faa0f31c34e6b3ef636d595bea
   Dependencies:  #17096             |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):

 * status:  positive_review => needs_work


Comment:

 {{{
 sage -t --long src/sage/categories/filtered_modules_with_basis.py
 **********************************************************************
 File "src/sage/categories/filtered_modules_with_basis.py", line 160, in
 
sage.categories.filtered_modules_with_basis.FilteredModulesWithBasis.ParentMethods.basis
 Failed example:
     A.basis(4)
 Expected:
     Traceback (most recent call last):
     ...
     AttributeError: 'IndexedFreeAbelianMonoid_with_category' object has no
 attribute 'list'
 Got:
     <BLANKLINE>
     Traceback (most recent call last):
       File "/mnt/disk/home/buildslave-
 sage/slave/sage_git/build/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/mnt/disk/home/buildslave-
 sage/slave/sage_git/build/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 858, in compile_and_execute
         exec(compiled, globs)
       File "<doctest
 
sage.categories.filtered_modules_with_basis.FilteredModulesWithBasis.ParentMethods.basis[5]>",
 line 1, in <module>
         A.basis(Integer(4))
       File "/mnt/disk/home/buildslave-
 sage/slave/sage_git/build/local/lib/python2.7/site-
 packages/sage/categories/filtered_modules_with_basis.py", line 186, in
 basis
         return self.homogeneous_component_basis(d)
       File "/mnt/disk/home/buildslave-
 sage/slave/sage_git/build/local/lib/python2.7/site-
 packages/sage/categories/filtered_modules_with_basis.py", line 215, in
 homogeneous_component_basis
         S = [i for i in list(self._indices) if self.degree_on_basis(i) ==
 d]
       File "sage/structure/parent.pyx", line 1548, in
 sage.structure.parent.Parent.__len__ (/mnt/disk/home/buildslave-
 sage/slave/sage_git/build/src/build/cythonized/sage/structure/parent.c:12470)
         return len(self.list())
       File "/mnt/disk/home/buildslave-
 sage/slave/sage_git/build/local/lib/python2.7/site-
 packages/sage/categories/infinite_enumerated_sets.py", line 76, in list
         raise NotImplementedError("infinite list")
     NotImplementedError: infinite list
 **********************************************************************
 1 item had failures:
    1 of  10 in
 
sage.categories.filtered_modules_with_basis.FilteredModulesWithBasis.ParentMethods.basis
     [214 tests, 1 failure, 0.75 s]
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19397#comment:46>
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