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 [29]: print c[[0,1],:200,:2].shape
(2, 200, 2)

In [30]: print c[[0,1],:200,[0,1]].shape
(2, 200)

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)

Ivan
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to