Re: [Numpy-discussion] Broadcasting doesn't work with divide after tile

2012-02-02 Thread Bruce Southey
On 02/02/2012 02:52 AM, martin großhauser wrote: > On Wed, Feb 1, 2012 at 10:57 PM, Pierre Haessig > wrote: >> I've no idea what's going on, but here is my $0.02 contribution. I >> reproduced the bug (numpy 1.5.1) with a rather minimal script. See attached. > I reproduced the issue with Pierre's

Re: [Numpy-discussion] Broadcasting doesn't work with divide after tile

2012-02-02 Thread martin großhauser
On Wed, Feb 1, 2012 at 10:57 PM, Pierre Haessig wrote: > I've no idea what's going on, but here is my $0.02 contribution. I > reproduced the bug (numpy 1.5.1) with a rather minimal script. See attached. I reproduced the issue with Pierre's script also in numpy 1.6.1 and latest github (2.0.0.dev-b

Re: [Numpy-discussion] Broadcasting doesn't work with divide after tile

2012-02-01 Thread Pierre Haessig
Le 01/02/2012 21:09, Benjamin Root a écrit : > I can't reproduce this bug with the latest numpy from github master. > Perhaps it has been fixed by now? Hi, I've no idea what's going on, but here is my $0.02 contribution. I reproduced the bug (numpy 1.5.1) with a rather minimal script. See attache

Re: [Numpy-discussion] Broadcasting doesn't work with divide after tile

2012-02-01 Thread Benjamin Root
2012/2/1 martin großhauser > 2012/2/1 martin großhauser : > > Hello, > > > > when I try in my script to divide a masked array by a scalar I get an > > error. The instruction is: > > > >>> sppa = sp / 100. > > > > sp is a masked array with ndim = 3. > > > > error is: > > Traceback (most recent cal

Re: [Numpy-discussion] Broadcasting doesn't work with divide after tile

2012-02-01 Thread martin großhauser
2012/2/1 martin großhauser : > Hello, > > when I try in my script to divide a masked array by a scalar I get an > error. The instruction is: > >>> sppa = sp / 100. > > sp is a masked array with ndim = 3. > > error is: > Traceback (most recent call last): >  File "/media/nethome/Work/workspace/inter

[Numpy-discussion] Broadcasting doesn't work with divide after tile

2012-02-01 Thread martin großhauser
Hello, when I try in my script to divide a masked array by a scalar I get an error. The instruction is: >> sppa = sp / 100. sp is a masked array with ndim = 3. error is: Traceback (most recent call last): File "/media/nethome/Work/workspace/interimEnso/src/mlBudget.py", line 95, in sppa