Re: [Numpy-discussion] More SPARC pain

2012-03-08 Thread Matthew Brett
Hi, On Tue, Mar 6, 2012 at 8:07 PM, Matthew Brett wrote: > Hi, > > I found this test caused a bus error on current trunk: > > > import numpy as np > > from StringIO import StringIO as BytesIO > > from numpy.testing import assert_array_equal > > > def test_2d_buf(): >    dtt = np.complex64 >    a

[Numpy-discussion] More SPARC pain

2012-03-06 Thread Matthew Brett
Hi, I found this test caused a bus error on current trunk: import numpy as np from StringIO import StringIO as BytesIO from numpy.testing import assert_array_equal def test_2d_buf(): dtt = np.complex64 arr = np.arange(10, dtype=dtt) # 2D array arr2 = np.reshape(arr, (2, 5))