From 527937eb3df319c23a9ccfe26558739acec14e8c Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Mon, 28 Aug 2006 20:01:34 +0000 Subject: Fix sundry errors. --- numpy/core/fromnumeric.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/core/fromnumeric.py') 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: -- cgit v1.2.1