[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:19:07 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 david.warde-farley):
I see. What is the preferred way to cast to the native NPY_LONG type?
Using np.int_ / np.int0? And is there an intrinsic reason why 32-bit
machines should only accept 32-bit integers as the 'n' argument here?
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1413#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list