[Numpy-discussion] Indexing bug?
ivan.oseledets at gmail.com
Sat Mar 30 14:01:38 EDT 2013
I am using numpy 1.6.1,
and encountered a wierd fancy indexing bug:
import numpy as np
c = np.random.randn(10,200,10);
In : print c[[0,1],:200,:2].shape
(2, 200, 2)
In : print c[[0,1],:200,[0,1]].shape
It means, that here fancy indexing is not working right for a 3d array.
Is this bug fixed with higher versions of numpy?
I do not check, since mine is from EPD and is compiled with MKL (and I
can consider recompiling myself only under strong circumstances)
More information about the NumPy-Discussion