#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
Work_issues: problem is not fixed | Upstream: N/A
Reviewer: | Author: Sebastian Pancratz,
Michael Orlitzky
Merged: | Dependencies:
------------------------------------+---------------------------------------
Changes (by zimmerma):
* status: needs_review => needs_work
* work_issues: => problem is not fixed
Comment:
I tried the attached patch on top of 4.7.2 but the problem with the
initial matrix still exists:
{{{
[zimmerma@coing tmp]$ sage
----------------------------------------------------------------------
| Sage Version 4.7.2, Release Date: 2011-10-29 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
Loading Sage library. Current Mercurial branch is: 6442
sage: A = load ("DetBugMatrix.sobj")
sage: A.det()
---------------------------------------------------------------------------
IndexError Traceback (most recent call
last)
/tmp/<ipython console> in <module>()
/usr/local/sage-4.7.2/sage/local/lib/python2.6/site-
packages/sage/matrix/matrix2.so in sage.matrix.matrix2.Matrix.det
(sage/matrix/matrix2.c:8222)()
/usr/local/sage-4.7.2/sage/local/lib/python2.6/site-
packages/sage/matrix/matrix2.so in sage.matrix.matrix2.Matrix.determinant
(sage/matrix/matrix2.c:6889)()
IndexError: list index out of range
}}}
Paul
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6442#comment:4>
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.