id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
10714 Rows of a zero-row sparse matrix are incorrect rbeezer jason was "Row vectors from a sparse matrix are incorrect when the matrix has zero rows.
{{{
sage: D = matrix(0, 2, sparse=False)
sage: D.parent()
Full MatrixSpace of 0 by 2 dense matrices over Integer Ring
sage: D.nrows()
0
sage: D.rows()
[]
sage: S = matrix(0, 2, sparse=True)
sage: S.parent()
Full MatrixSpace of 0 by 2 sparse matrices over Integer Ring
sage: S.nrows()
0
sage: S.rows()
[(0, 0)]
}}}
`sage/matrix/matrix1.Matrix.sparse_rows()` is the place to look.
Apply trac_10714-rows-sparse-matrices.patch, trac_10714-columns-sparse-matrices.patch" defect closed major sage-4.6.2 linear algebra fixed sage-4.6.2.rc0 Rob Beezer Jason Grout N/A