diff options
author | Tim Leslie <tim.leslie@gmail.com> | 2007-01-09 04:45:31 +0000 |
---|---|---|
committer | Tim Leslie <tim.leslie@gmail.com> | 2007-01-09 04:45:31 +0000 |
commit | e56a09af9e696129b92e7487bccbc3713568fc5b (patch) | |
tree | 1257c10ae62f2847ac22f48e502eafeef7632820 /numpy/core/ma.py | |
parent | 4d9b87ec11dc268bb9069831deab466ffe47ad93 (diff) | |
download | numpy-e56a09af9e696129b92e7487bccbc3713568fc5b.tar.gz |
clean up unused imports and bad whitespace
Diffstat (limited to 'numpy/core/ma.py')
-rw-r--r-- | numpy/core/ma.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/core/ma.py b/numpy/core/ma.py index fc1e89d7b..420cbd72d 100644 --- a/numpy/core/ma.py +++ b/numpy/core/ma.py @@ -1683,7 +1683,6 @@ def average (a, axis=None, weights=None, returned = 0): d = add.reduce(w, axis) del w elif wsh == (ash[axis],): - ni = ash[axis] r = [newaxis]*len(ash) r[axis] = slice(None, None, 1) w = eval ("w["+ repr(tuple(r)) + "] * ones(ash, float)") @@ -1708,7 +1707,6 @@ def average (a, axis=None, weights=None, returned = 0): n = add.reduce(a*w, axis) d = add.reduce(w, axis) elif wsh == (ash[axis],): - ni = ash[axis] r = [newaxis]*len(ash) r[axis] = slice(None, None, 1) w = eval ("w["+ repr(tuple(r)) + "] * masked_array(ones(ash, float), mask)") |