summaryrefslogtreecommitdiff
path: root/scipy/base/shape_base.py
diff options
context:
space:
mode:
authorRobert Kern <robert.kern@gmail.com>2005-10-04 13:06:44 +0000
committerRobert Kern <robert.kern@gmail.com>2005-10-04 13:06:44 +0000
commitb4a71a6b8025fd4822a49166e051fc16563fc54d (patch)
treea69a6b9ca49b207c0bd720e2349b519add73e6e5 /scipy/base/shape_base.py
parentea0617129070f31f1d7e4eabb428a03f1cdb20cf (diff)
downloadnumpy-b4a71a6b8025fd4822a49166e051fc16563fc54d.tar.gz
r85@Blasphemy: kern | 2005-10-04 03:56:27 -0700
Ahem
Diffstat (limited to 'scipy/base/shape_base.py')
-rw-r--r--scipy/base/shape_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy/base/shape_base.py b/scipy/base/shape_base.py
index 79eeff3bc..b55d07029 100644
--- a/scipy/base/shape_base.py
+++ b/scipy/base/shape_base.py
@@ -26,7 +26,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)
+ outshape = asarray(arr.shape).take(indlist)
i.put(indlist, ind)
res = func1d(arr[tuple(i)],*args)
# if res is a number, then we have a smaller output array