#17341: visualize_structure for sparse matrices over GF(p) is broken
----------------------------------+------------------------
       Reporter:  jhpalmieri      |        Owner:
           Type:  defect          |       Status:  new
       Priority:  minor           |    Milestone:  sage-7.1
      Component:  linear algebra  |   Resolution:
       Keywords:                  |    Merged in:
        Authors:  Jeroen Demeyer  |    Reviewers:
Report Upstream:  N/A             |  Work issues:
         Branch:                  |       Commit:
   Dependencies:                  |     Stopgaps:
----------------------------------+------------------------
Description changed by jdemeyer:

Old description:

> {{{
> sage: random_matrix(GF(2), 8, 586, sparse=True).visualize_structure()
> IndexError: image index out of range
> }}}
>
> Solution: remove this specialized implementation, since the general one
> from `Matrix` works just fine.

New description:

 {{{
 sage: random_matrix(GF(2), 8, 586, sparse=True).visualize_structure()
 IndexError: image index out of range
 }}}

 Solution: remove this specialized implementation, since the general one
 from `Matrix` works just fine.

 In the generic `visualize_structure()` method, we change `int` ->
 `Py_ssize_t` to support matrices larger than 2^31.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/17341#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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to