Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #17341: visualize_structure for sparse matrices over GF(p) is br…
…oken {{{ 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. URL: http://trac.sagemath.org/17341 Reported by: jhpalmieri Ticket author(s): Jeroen Demeyer Reviewer(s): John Palmieri
- Loading branch information
Showing
2 changed files
with
18 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters