diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-29 09:37:47 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-29 09:37:47 +0000 |
commit | ce7a968a7b5cdb328ca1ea222211ad9cd8e506ad (patch) | |
tree | 69df6157b86e9d6157362b82473127e686c5837c /numpy/lib/shape_base.py | |
parent | 936b14b2363d0b57aaa109b255d332d222704640 (diff) | |
download | numpy-ce7a968a7b5cdb328ca1ea222211ad9cd8e506ad.tar.gz |
Restore un-needed axis arguments
Diffstat (limited to 'numpy/lib/shape_base.py')
-rw-r--r-- | numpy/lib/shape_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py index 925329cdf..df0e9876d 100644 --- a/numpy/lib/shape_base.py +++ b/numpy/lib/shape_base.py @@ -25,7 +25,7 @@ def apply_along_axis(func1d,axis,arr,*args): indlist = range(nd) indlist.remove(axis) i[axis] = slice(None,None) - outshape = asarray(arr.shape).take(indlist,0) + outshape = asarray(arr.shape).take(indlist) i.put(ind, indlist) res = func1d(arr[tuple(i.tolist())],*args) # if res is a number, then we have a smaller output array |