Re: [Numpy-discussion] Bug in loadtxt

2010-08-21 Thread Thomas Robitaille
josef.pktd wrote: > > are you sure this is not just a print precision problem? > Thanks for pointing this out, it does seem to be just to do with the printing precision. I didn't notice this before, because for the last few elements of the array, print still gives just -1: In [19]: for x in a

Re: [Numpy-discussion] Bug in loadtxt

2010-08-21 Thread josef . pktd
On Sat, Aug 21, 2010 at 1:43 PM, Thomas Robitaille wrote: > Hi, > > I am running into a precision issue with np.loadtxt. I have a data file with > the following contents: > > $ cat data.txt > -9.61922814E-01 > -9.96192290E-01 > -9.99619227E-01 > -9.99961919E-01 > -

[Numpy-discussion] Bug in loadtxt

2010-08-21 Thread Thomas Robitaille
Hi, I am running into a precision issue with np.loadtxt. I have a data file with the following contents: $ cat data.txt -9.61922814E-01 -9.96192290E-01 -9.99619227E-01 -9.99961919E-01 -9.6192E-01 -9.9611E-01 -1.E+00 If I tr