#8807: Adding support for morphisms to the category framework
---------------------------+------------------------------------------------
   Reporter:  SimonKing    |       Owner:  Simon King                   
       Type:  enhancement  |      Status:  needs_work                   
   Priority:  major        |   Milestone:                               
  Component:  categories   |    Keywords:  morphisms functors categories
     Author:  Simon King   |    Upstream:  N/A                          
   Reviewer:               |      Merged:                               
Work_issues:               |  
---------------------------+------------------------------------------------
Changes (by was):

  * status:  needs_review => needs_work


Comment:

 I applied this patch to sage-4.5, and ran "make ptestlong", and their are
 failures all over the place, e.g.,
 {{{

 wst...@sage:~/build/sage-4.5.alphastein1$ ./sage -t  -long
 devel/sage/sage/matrix/misc.pyx
 sage -t -long "devel/sage/sage/matrix/misc.pyx"
 **********************************************************************
 File
 
"/mnt/usb1/scratch/wstein/build/sage-4.5.alphastein1/devel/sage/sage/matrix/misc.pyx",
 line 67:
     sage: B = ((matrix(ZZ, 3,4,
 [1,2,3,-4,7,2,18,3,4,3,4,5])/3)%500).change_ring(ZZ)
 Exception raised:
     Traceback (most recent call last):
       File
 "/mnt/usb1/scratch/wstein/build/sage-4.5.alphastein1/local/bin/ncadoctest.py",
 line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/mnt/usb1/scratch/wstein/build/sage-4.5.alphastein1/local/bin/sagedoctest.py",
 line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/mnt/usb1/scratch/wstein/build/sage-4.5.alphastein1/local/bin/ncadoctest.py",
 line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_1[2]>", line 1, in <module>
         B = ((matrix(ZZ, Integer(3),Integer(4),
 
[Integer(1),Integer(2),Integer(3),-Integer(4),Integer(7),Integer(2),Integer(18),Integer(3),Inte
 
ger(4),Integer(3),Integer(4),Integer(5)])/Integer(3))%Integer(500)).change_ring(ZZ)###line
 67:
     sage: B = ((matrix(ZZ, 3,4,
 [1,2,3,-4,7,2,18,3,4,3,4,5])/3)%500).change_ring(ZZ)
       File "element.pyx", line 1529, in
 sage.structure.element.RingElement.__div__
 (sage/structure/element.c:11992)
       File "coerce.pyx", line 765, in
 sage.structure.coerce.CoercionModel_cache_maps.bin_op
 (sage/structure/coerce.c:6966)
     TypeError: unsupported operand parent(s) for '/': 'Full MatrixSpace of
 3 by 4 dense matrices over Integer Ring' and 'Integer Ring'
 ...
 }}}

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