Re: [Numpy-discussion] FloatingPointError: overflow encountered in multiply

2011-07-11 Thread Roy Lowrance
< charlesr.har...@gmail.com> wrote: > > > On Sun, Jul 10, 2011 at 8:26 PM, Roy Lowrance wrote: > >> I have a 1D float64 array ts. I want to square each element, so I compute >> x = ts * ts >> >> I get a floating point overflow error. >> >> Howev

[Numpy-discussion] FloatingPointError: overflow encountered in multiply

2011-07-10 Thread Roy Lowrance
I have a 1D float64 array ts. I want to square each element, so I compute x = ts * ts I get a floating point overflow error. However, when I access each element separately and multiple, I get no error: for i in ts.shape[0]: ___ NumPy-Discussion mail