Hi,
should this not be accepted:
>>> N.argwhere([4,0,2,1,3])
?
instead I get

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "./numpy/core/numeric.py", line 510, in argwhere
AttributeError: 'list' object has no attribute 'nonzero'
>>> N.argwhere(N.array([4,0,2,1,3]))
[[0]
 [2]
 [3]
 [4]]
>>> N.__version__
'1.3.0'
>>>

Just a note.
-Sebastian Haase
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to