[Numpy-discussion] advanced indexing bug with huge arrays?

Sturla Molden sturla at molden.no
Mon Jan 23 23:35:20 EST 2012

Den 23.01.2012 22:08, skrev Christoph Gohlke:
> Maybe this explains the win-amd64 behavior: There are a couple of places
> in mtrand where array indices and sizes are C long instead of npy_intp,
> for example in the randint function:
> <https://github.com/numpy/numpy/blob/master/numpy/random/mtrand/mtrand.pyx#L863>

AFAIK, on AMD64 a C long is 64 bit on Linux (gcc) and 32 bit on Windows 
(gcc and MSVC).


More information about the NumPy-Discussion mailing list