[SciPy-dev] ufunc.accumulate bug?

David Goldsmith d_l_goldsmith@yahoo....
Sun Jul 19 17:52:23 CDT 2009


Ah, that would (probably) be it then:

>>> np.version.version
'1.2.1'

I'll update and see...

Thanks, Charles!

DG

--- On Sun, 7/19/09, Charles R Harris <charlesr.harris@gmail.com> wrote:

> From: Charles R Harris <charlesr.harris@gmail.com>
> Subject: Re: [SciPy-dev] ufunc.accumulate bug?
> To: "SciPy Developers List" <scipy-dev@scipy.org>
> Date: Sunday, July 19, 2009, 2:55 PM
> 
> 
> On Sun, Jul 19, 2009 at 3:28 PM,
> David Goldsmith <d_l_goldsmith@yahoo.com>
> wrote:
> 
> 
> 
> Hi!  Is this a bug:
> 
> 
> 
> >>> np.multiply.accumulate([2, 3, 5],
> dtype='f')
> 
> array([  2.,   6.,  30.], dtype=float32)
> 
> 
> 
> >>> np.multiply.accumulate([2, 3, 5],
> dtype='g')
> 
> array([0.0, -2, -3.1050362e+231], dtype=float96)
> 
> 
> 
> >>> np.multiply.accumulate([2, 3, 5],
> dtype='F')
> 
> array([  2.+0.j,   6.+0.j,  30.+0.j], dtype=complex64)
> 
> 
> 
> >>> np.multiply.accumulate([2, 3, 5],
> dtype='G')
> 
> array([0.0+0.0j, -2+0.0j, -3.1050362e+231+0.0j],
> dtype=complex192)
> 
> 
> 
> If not, why not (i.e., what am I missing)?
> 
> 
> On the other hand, this works for me. What numpy version do
> you have? There was a bug like this that got fixed in 1.2.
> 
> Chuck 
> 
> 
> 
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
> 


      


More information about the Scipy-dev mailing list