#6904: change ring broken over QQ and GF(2)
------------------------------+---------------------------------------------
   Reporter:  was             |       Owner:  was     
       Type:  defect          |      Status:  new     
   Priority:  major           |   Milestone:  sage-4.5
  Component:  linear algebra  |    Keywords:          
     Author:                  |    Upstream:  N/A     
   Reviewer:                  |      Merged:          
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by was):

 Amazingly, this is still broken in Sage-4.5.alpha4!
 {{{

 wst...@sage:~/build/sage-4.5.alpha4$ ./sage
 ----------------------------------------------------------------------
 | Sage Version 4.5.alpha4, Release Date: 2010-07-06                  |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 **********************************************************************
 *                                                                    *
 * Warning: this is a prerelease version, and it may be unstable.     *
 *                                                                    *
 **********************************************************************
 sage: matrix(QQ,2,[1,0,0,1]).change_ring(GF(2)) - 1
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)

 /mnt/usb1/scratch/wstein/build/sage-4.5.alpha4/<ipython console> in
 <module>()

 /mnt/usb1/scratch/wstein/build/sage-4.5.alpha4/local/lib/python2.6/site-
 packages/sage/structure/element.so in
 sage.structure.element.RingElement.__sub__
 (sage/structure/element.c:11073)()

 /mnt/usb1/scratch/wstein/build/sage-4.5.alpha4/local/lib/python2.6/site-
 packages/sage/structure/coerce.so in
 sage.structure.coerce.CoercionModel_cache_maps.bin_op
 (sage/structure/coerce.c:6123)()

 /mnt/usb1/scratch/wstein/build/sage-4.5.alpha4/local/lib/python2.6/site-
 packages/sage/structure/element.so in
 sage.structure.element.RingElement.__sub__
 (sage/structure/element.c:11005)()

 RuntimeError:
 sage:
 }}}

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