Re: [Numpy-discussion] Segmentation fault on large arrays

2009-05-26 Thread Charles R Harris
On Tue, May 26, 2009 at 1:55 AM, Nicolas Rougier wrote: > > Hello, > > I've come across what is probably a bug in size check for large arrays: > > >>> import numpy > >>> z1 = numpy.zeros((255*256,256*256)) > Traceback (most recent call last): > File "", line 1, in > ValueError: dimensions too la

[Numpy-discussion] Segmentation fault on large arrays

2009-05-26 Thread Nicolas Rougier
Hello, I've come across what is probably a bug in size check for large arrays: >>> import numpy >>> z1 = numpy.zeros((255*256,256*256)) Traceback (most recent call last): File "", line 1, in ValueError: dimensions too large. >>> z2 = numpy.zeros((256*256,256*256)) >>> z2.shape (65536, 65536)