We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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'
Component: linear algebra
Keywords: Matrix 2x2, mutability, copy
Author: Florent Hivert
Reviewer: Martin Raum
Merged: sage-4.3.4.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8294
The text was updated successfully, but these errors were encountered:
Attachment: trac_8294-matrix_2x2_copy_mutability_fix-fh.patch.gz
Should be ready for review.
Florent
Sorry, something went wrong.
This applies cleanly and all tests pass. Positive review as is. #8276 will follow soon.
Replying to @sagetrac-mraum:
Thanks a lot for this quick help !
hivert
No branches or pull requests
Component: linear algebra
Keywords: Matrix 2x2, mutability, copy
Author: Florent Hivert
Reviewer: Martin Raum
Merged: sage-4.3.4.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8294
The text was updated successfully, but these errors were encountered: