nt to use an official Numpy release you'll probably need to
> downgrade to 1.5.x and wait until the next Numpy release.
>
> -=- Olivier
>
>
> 2011/9/20 Aditya Sethi
>
>> Hi,
>>
>> Stefan, which version of Python and NumPy are you using?
>>
>>
ing type for add (vectorized).accumulate,
requested type has type code 'l'
>>>
Aditya
2011/9/19 Stéfan van der Walt
> On Mon, Sep 19, 2011 at 4:18 PM, Aditya Sethi wrote:
> > But uadd.accumulate(..) or uadd.reduce(..) fail with error:
> > ValueError: could not fi
).accumulate
( or (vectorized).reduce )
Apologies, I should have been more clear before.
Thanks,
Aditya
2011/9/19 Stéfan van der Walt
> Hi,
>
> On Mon, Sep 19, 2011 at 2:38 PM, Aditya Sethi wrote:
> > I am facing an issue upgrading numpy from 1.5.1 to 1.6.1.
> > In numPy 1.6,
Hi all,
I am facing an issue upgrading numpy from 1.5.1 to 1.6.1.
In numPy 1.6, the casting behaviour for ufunc has changed and has become
stricter.
Can someone advise how to implement the below simple example which worked in
1.5.1 but fails in 1.6.1?
>>> import numpy as np
>>> def add(a,b):
...