[NumPy-Tickets] [NumPy] #1413: np.random.binomial() fails with int64 'n' argument on x86/32-bit

NumPy Trac numpy-tickets@scipy....
Fri Feb 26 17:29:57 CST 2010


#1413: np.random.binomial() fails with int64 'n' argument on x86/32-bit
-----------------------------------------------------+----------------------
 Reporter:  david.warde-farley                       |       Owner:  somebody
     Type:  defect                                   |      Status:  new     
 Priority:  normal                                   |   Milestone:          
Component:  numpy.random                             |     Version:          
 Keywords:  random mtrand binomial int64 mtrand.pyx  |  
-----------------------------------------------------+----------------------

Comment(by pv):

 Using flags `NPY_ALIGNED|NPY_FORCECAST` in `PyArray_FROM_OTF` should do
 it.

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


More information about the NumPy-Tickets mailing list