#6442: Random(?) index error with determinant method
------------------------------------+---------------------------------------
Reporter: spancratz | Owner: somebody
Type: defect | Status: needs_work
Priority: major | Milestone:
Component: linear algebra | Keywords: det, determinant,
IndexError, sd35.5
Work_issues: problem is not fixed | Upstream: N/A
Reviewer: | Author: Sebastian Pancratz,
Michael Orlitzky
Merged: | Dependencies:
------------------------------------+---------------------------------------
Comment(by mjo):
The bug wasn't in the saving/loading of matrices, only in the cache code.
DetBugMatrix.sobj contains a broken matrix -- one with an empty dictionary
cached as the charpoly(). When you load it from file, it's still broken,
so some operations won't work on it.
The patch prevents creating these matrices in the future by fixing the
cache bug (hopefully).
The code from the doctest should work only after the patch, because prior
to the patch, it would have created a matrix with the same problem as the
one in DetBugMatrix.sobj.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6442#comment:6>
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.