[NumPy-Tickets] [NumPy] #1123: nansum for empty or all nan arrays is not zero

NumPy Trac numpy-tickets@scipy....
Thu Jan 13 08:18:22 CST 2011


#1123: nansum for empty or all nan arrays is not zero
-----------------------+----------------------------------------------------
 Reporter:  josefpktd  |       Owner:  charris     
     Type:  defect     |      Status:  needs_review
 Priority:  normal     |   Milestone:  2.0.0       
Component:  numpy.lib  |     Version:              
 Keywords:             |  
-----------------------+----------------------------------------------------
Changes (by ged):

 * cc: gdementen@… (added)


Comment:

 strong +1 for returning 0 on empty arrays (I just got bitten by this)
 +1 to either return 0 on all nan arrays OR change the documentation

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1123#comment:13>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list