diff options
author | mattip <matti.picus@gmail.com> | 2019-03-16 21:46:59 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-03-17 09:05:25 +0200 |
commit | 32129453da0f9bf0f352adaaff79f884d2bf52bc (patch) | |
tree | b7ce2d438f054385ebc5648a0e136b24cdbdfbfe /numpy/ma/extras.py | |
parent | bee436da4efb2240752eea751971aa6ea5a3bb48 (diff) | |
download | numpy-32129453da0f9bf0f352adaaff79f884d2bf52bc.tar.gz |
DEV: cleanup imports and some assignments (from LGTM)
Diffstat (limited to 'numpy/ma/extras.py')
-rw-r--r-- | numpy/ma/extras.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py index 2e3b84e1c..a51d83578 100644 --- a/numpy/ma/extras.py +++ b/numpy/ma/extras.py @@ -390,7 +390,6 @@ def apply_along_axis(func1d, axis, arr, *args, **kwargs): i[axis] = slice(None, None) outshape = np.asarray(arr.shape).take(indlist) i.put(indlist, ind) - j = i.copy() res = func1d(arr[tuple(i.tolist())], *args, **kwargs) # if res is a number, then we have a smaller output array asscalar = np.isscalar(res) |