On Wed, Feb 1, 2012 at 3:47 AM, Olivier Delalleau <[email protected]> wrote: > I think you just can't use newaxis in advanced indexing (doc says "The > newaxis object can be used in the basic slicing syntax", and does not > mention newaxis in the advanced indexing part).
Yes, with fancy indexing the two arguments need to be broadcast together, and this fails for [0, 2] and None (newaxis is simply the None object). Stéfan _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
