summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-28 20:01:34 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-28 20:01:34 +0000
commit527937eb3df319c23a9ccfe26558739acec14e8c (patch)
tree7f5ac82ac44d4023df0903ed97f858629d6bb1fa /numpy/core/fromnumeric.py
parent0f23250d0f7f84f1c69ccd85d13338714343d4c1 (diff)
downloadnumpy-527937eb3df319c23a9ccfe26558739acec14e8c.tar.gz
Fix sundry errors.
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 297ad8b3d..dfe233b6e 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -356,6 +356,7 @@ def sum(x, axis=None, dtype=None, out=None):
if out is not None:
out[...] = res
return out
+ return res
try:
sum = x.sum
except AttributeError: