[NumPy-Tickets] [NumPy] #1387: Undefined behavior for bincount for empty array

NumPy Trac numpy-tickets@scipy....
Mon Feb 1 19:40:12 CST 2010


#1387: Undefined behavior for bincount for empty array
-----------------------+----------------------------------------------------
 Reporter:  cdavid     |       Owner:  somebody   
     Type:  defect     |      Status:  new        
 Priority:  normal     |   Milestone:  Unscheduled
Component:  numpy.lib  |     Version:             
 Keywords:             |  
-----------------------+----------------------------------------------------
 E.g.:

 {{{
 import numpy as np
 x = np.bincount(np.array([], dtype=int))
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1387>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list