diff options
author | Stefan van der Walt <stefan@sun.ac.za> | 2006-06-06 15:39:46 +0000 |
---|---|---|
committer | Stefan van der Walt <stefan@sun.ac.za> | 2006-06-06 15:39:46 +0000 |
commit | 8f7d59f607e418a5b9e09295a0c87aff5d0f2b1c (patch) | |
tree | 43b73e563a47902f3e05923f1dc5c675da0893d3 /numpy/lib/index_tricks.py | |
parent | 858fdcea384a8b7c2460ec00501a26d8caa6995c (diff) | |
download | numpy-8f7d59f607e418a5b9e09295a0c87aff5d0f2b1c.tar.gz |
Fix unravel_index docstring.
Diffstat (limited to 'numpy/lib/index_tricks.py')
-rw-r--r-- | numpy/lib/index_tricks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py index c1516a976..13a45498a 100644 --- a/numpy/lib/index_tricks.py +++ b/numpy/lib/index_tricks.py @@ -24,7 +24,7 @@ def unravel_index(x,dims): Example usage: p = x.argmax() - idx = unravel_index(p) + idx = unravel_index(p,x.shape) x[idx] == x.max() Note: x.flat[p] == x.max() |