#12020: bug in zero_matrix rewrite in matrix_space.py
------------------------------+---------------------------------------------
Reporter: was | Owner: jason, was
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-4.8
Component: linear algebra | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: William Stein
Merged: | Dependencies:
------------------------------+---------------------------------------------
Comment(by malb):
I have attached an alternative solution: instead of switching back to
{{{0}}} instead of {{{None}}} make {{{Matrix_cyclo_dense}}} deal with
{{{None}}} properly. The reason we switched to {{{None}}} was because this
is faster since most (?, perhaps only some) matrix classes do nothing if
{{{None}}} is passed, while they write 0 along the main diagonal if zero
is passed. Of course, one could also fix those matrix classes and switch
back to {{{0}}}.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12020#comment:5>
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.