#8294: Copy is broken on 2x2 integer matrix (mutability is not set)
------------------------------+---------------------------------------------
Reporter: hivert | Owner: h
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.3
Component: linear algebra | Keywords: Matrix 2x2, mutability, copy
Author: Florent Hivert | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
{{{
sage: M = sage.matrix.matrix_integer_2x2.MatrixSpace_ZZ_2x2()
sage: mat = M([3,4,5,6])
sage: mat.is_mutable()
True
sage: mat = copy(mat)
sage: mat.is_mutable()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
/home/hivert/<ipython console> in <module>()
/usr/local/sage2/local/lib/python2.6/site-packages/sage/matrix/matrix0.so
in sage.matrix.matrix0.Matrix.is_mutable (sage/matrix/matrix0.c:3928)()
AttributeError: 'NoneType' object has no attribute 'is_mutable'
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8294>
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.