[Scipy-tickets] [SciPy] #317: Bug in scipy.io.mmwrite() of sparse matrices

SciPy scipy-tickets at scipy.net
Tue Nov 28 03:27:50 CST 2006


#317: Bug in scipy.io.mmwrite() of sparse matrices
----------------------+-----------------------------------------------------
 Reporter:  wnbell    |       Owner:  somebody
     Type:  defect    |      Status:  new     
 Priority:  normal    |   Milestone:          
Component:  scipy.io  |     Version:  devel   
 Severity:  normal    |    Keywords:          
----------------------+-----------------------------------------------------
 Line #269 of scipy/io/mmio.py currently reads:

         typecode = a.gettypecode()

 This raises an error when mmwrite() is used with sparse matrices.  I was
 able to fix problem by replacing the above line with:

         typecode = a.dtype.char

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


More information about the Scipy-tickets mailing list