#8539: Matrix(ZZ, sparse=True)._mod_int(p) has the wrong parent
------------------------------+---------------------------------------------
Reporter: rlm | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.4
Component: linear algebra | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Changes (by rlm):
* cc: wuthrich (removed)
* owner: cremona => was
* component: elliptic curves => linear algebra
Old description:
> When reproducing this, make sure to wait about 10 seconds before trying
> to interrupt, as it takes time earlier in the function elsewhere, which
> handles the interruption properly.
New description:
{{{
sage: M = Matrix(ZZ, 300, 300, sparse=True)
sage: B = M._mod_int(7)
sage: B
300 x 300 sparse matrix over Ring of integers modulo 7 (type 'print
B.str()' to see all of the entries)
sage: B.parent()
Full MatrixSpace of 300 by 300 dense matrices over Ring of integers modulo
7
}}}
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8539#comment:2>
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.