On 02/16/2010 06:03 PM, Jonathan Bober wrote:
At least some errors probably come from the file
sage/algebras/quatalg/quaternion_algebra_cython.pyx
and I think they should be easily fixable without any knowledge of what
is going on by just changing the code to make a copy of the zero matrix.
However, I really wonder whether this fix is necessary. I understand the
the bug pointed out is a bad bug, but I think that when I call
zero_matrix() I will usually quickly modify the returned matrix. Are
there many useful situations where it is important that M =
zero_matrix() return very fast and where we _aren't_ going to modify M?
If M is a matrix space, will M(0) return an immutable matrix with this
change?
Thanks,
Jason
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org