Re: [Numpy-discussion] slight MapIter change

2013-05-13 Thread Frédéric Bastien
ok, thanks for the associated PR. Fred On Mon, May 13, 2013 at 10:19 AM, Sebastian Berg wrote: > On Mon, 2013-05-13 at 09:58 -0400, Frédéric Bastien wrote: > > Hi, > > > > this is used in Theano. What is the consequence of not doing this? > > There is people that use it, the question is how m

Re: [Numpy-discussion] slight MapIter change

2013-05-13 Thread Sebastian Berg
On Mon, 2013-05-13 at 09:58 -0400, Frédéric Bastien wrote: > Hi, > > this is used in Theano. What is the consequence of not doing this? > There is people that use it, the question is how many. > There are no consequences. Only if you use the equivalent to `array[np.newaxis, fancy_index, ]` the re

Re: [Numpy-discussion] slight MapIter change

2013-05-13 Thread Frédéric Bastien
Hi, this is used in Theano. What is the consequence of not doing this? There is people that use it, the question is how many. Is there a way to detect witch version need to be used? thanks Fred On Sat, May 11, 2013 at 11:41 AM, Sebastian Berg wrote: > Hey, > > (this is only interesting if yo

[Numpy-discussion] slight MapIter change

2013-05-11 Thread Sebastian Berg
Hey, (this is only interesting if you know what MapIter and actually use it) In case anyone already uses the newly exposed mapiter (it was never released yet). There is a tiny change, which only affects indexes that start with np.newaxis but otherwise just simplifies a tiny bit. The old block for