Re: [Numpy-discussion] numpy.save bug on solaris x86 w/ nans and objects

2008-05-20 Thread John Hunter
On Tue, May 20, 2008 at 12:13 PM, Charles R Harris <[EMAIL PROTECTED]> wrote: > Looks like we need to add a test for this before release. But I'm off to > work. Here's a simpler example in case you want to wrap it in a test harness: import datetime import numpy as np r = np.rec.fromarrays([

Re: [Numpy-discussion] numpy.save bug on solaris x86 w/ nans and objects

2008-05-20 Thread Charles R Harris
On Tue, May 20, 2008 at 10:57 AM, John Hunter <[EMAIL PROTECTED]> wrote: > I have a record array w/ dates (O4) and floats. If some of these > floats are NaN, np.save crashes (on my solaris platform but not on a > linux machine I tested on). Here is the code that produces the bug: > > In [1]: pwd

[Numpy-discussion] numpy.save bug on solaris x86 w/ nans and objects

2008-05-20 Thread John Hunter
I have a record array w/ dates (O4) and floats. If some of these floats are NaN, np.save crashes (on my solaris platform but not on a linux machine I tested on). Here is the code that produces the bug: In [1]: pwd Out[1]: '/home/titan/johnh/python/svn/matplotlib/matplotlib/examples/data' In [2]