[Numpy-tickets] [NumPy] #950: multiply empty arrays gives nonzero result

NumPy numpy-tickets@scipy....
Thu Nov 6 04:08:50 CST 2008


#950: multiply empty arrays gives nonzero result
------------------------+---------------------------------------------------
 Reporter:  pierre      |        Owner:  somebody
     Type:  defect      |       Status:  new     
 Priority:  normal      |    Milestone:  1.3.0   
Component:  numpy.core  |      Version:  none    
 Severity:  normal      |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by pv):

 Verified on Linux (32 and 64-bit). I get only zeros as results.

 Apparently, dot does not handle zero-sized arrays properly. Actually, I'm
 not sure whether the correct behavior is to raise a LinAlgError, or to
 return appropriately sized arrays full of zeros (this is what is done
 now).

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/950#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list