Re: [Numpy-discussion] Weird behavior of gufuncs

2013-09-06 Thread Nathaniel Smith
On Fri, Sep 6, 2013 at 12:09 AM, Jaime Fernández del Río wrote: > Hi all, > > I am seeing some very weird behavior on a gufunc I coded. > > It has a pretty complicated signature: > '(r,c,p),(i,j,k,n),(u,v),(d),(n,q)->(q,r,c)' > > And a single registered loop function, for types: > uint8, uint16,

[Numpy-discussion] Weird behavior of gufuncs

2013-09-05 Thread Jaime Fernández del Río
Hi all, I am seeing some very weird behavior on a gufunc I coded. It has a pretty complicated signature: '(r,c,p),(i,j,k,n),(u,v),(d),(n,q)->(q,r,c)' And a single registered loop function, for types: uint8, uint16, uint16, uintp, uint8->uint8. In general it performs beautifully well, returning