[Scipy-tickets] [SciPy] #1163: Different type of output sparse/nonsparse depending on dimension of matrix

SciPy Trac scipy-tickets@scipy....
Sat Jul 17 04:18:17 CDT 2010


#1163: Different type of output sparse/nonsparse depending on dimension of matrix
------------------------------------------+---------------------------------
 Reporter:  fnielsen                      |       Owner:  wnbell     
     Type:  defect                        |      Status:  new        
 Priority:  normal                        |   Milestone:  Unscheduled
Component:  scipy.sparse                  |     Version:  0.6.0      
 Keywords:  sparse, full, multiplication  |  
------------------------------------------+---------------------------------
Changes (by rgommers):

  * owner:  somebody => wnbell
  * component:  Other => scipy.sparse
  * milestone:  0.8.0 => Unscheduled


Comment:

 Looks like this is fixed.
 {{{
 >>> >>> from scipy import sparse
 >>> >>> import numpy
 >>> >>> A = sparse.lil_eye((10,10))
 >>> >>> sparse.issparse(numpy.mat(numpy.ones((1,10))) * A)
 False
 >>> >>> sparse.issparse(numpy.mat(numpy.ones((2,10))) * A)
 False
 >>> np.__version__
 '1.4.1'
 >>> sp.__version__
 '0.9.0.dev'
 }}}
 On OS X 10.6 32-bit, python 2.6.

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


More information about the Scipy-tickets mailing list