diff options
author | pierregm <pierregm@localhost> | 2008-09-18 17:51:55 +0000 |
---|---|---|
committer | pierregm <pierregm@localhost> | 2008-09-18 17:51:55 +0000 |
commit | 0c4ca0c46de9b2c2d598a07cbee20a68a6cebb47 (patch) | |
tree | 57015aa3d45c9c5811e5cc0d17ca1c3779cb4a00 /numpy/ma/extras.py | |
parent | 79690f02ab0e227e162b40f7dc346a68df81515f (diff) | |
download | numpy-0c4ca0c46de9b2c2d598a07cbee20a68a6cebb47.tar.gz |
median : fixed a bug in _median1D (there shouldn't have been an axis)
Diffstat (limited to 'numpy/ma/extras.py')
-rw-r--r-- | numpy/ma/extras.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py index f0e8a3fea..ded2d475f 100644 --- a/numpy/ma/extras.py +++ b/numpy/ma/extras.py @@ -415,7 +415,7 @@ def median(a, axis=None, out=None, overwrite_input=False): """ def _median1D(data): - counts = filled(count(data, axis),0) + counts = filled(count(data),0) (idx, rmd) = divmod(counts, 2) if rmd: choice = slice(idx, idx+1) |