[Scipy-tickets] [SciPy] #374: failure in degenerate case of spmatrix.dot

SciPy scipy-tickets@scipy....
Wed Feb 14 10:14:48 CST 2007

#374: failure in degenerate case of spmatrix.dot
 Reporter:  batripler     |       Owner:  somebody           
     Type:  defect        |      Status:  new                
 Priority:  high          |   Milestone:                     
Component:  scipy.sparse  |     Version:  0.5.2              
 Severity:  normal        |    Keywords:  sparse dot multiply
 When calling spmatrix.dot(A), where A is a dense column (or row) matrix of
 length 1, then the check:
           elif isdense(other) and '''asarray(other).squeeze().ndim ==
 fails. The '==' at the end should be '<=', so that the result for any
 row/column vector is consistently dense.

 The patch is attached.

Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/374>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list