2011/11/23 :
> might be an old story >>> np.__version__ -> '1.5.1'
I have only a numpy 1.4.1 for testing atm, but I believe this corner
case never occured and hence never got fixed since then. Confirming
your issue on that.
> It thought for once it's easier to use reshape to add a new axis
> i
might be an old story >>> np.__version__ -> '1.5.1'
It thought for once it's easier to use reshape to add a new axis
instead of ...,None
but my results got weird (normal(0,1) sample of 2.13795875e-314)
>>> x = 1
>>> y = np.arange(3)
>>> z = np.arange(2)[:,None]
>>> np.broadcast(x,y,z)
>>> np.br