From 775a47de7e2f4b039592d614e7ac3fda464975a8 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Tue, 29 Aug 2006 10:28:11 +0000 Subject: Add axis arguments to various functions so as not to rely on the defaults. --- numpy/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/utils.py') diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py index db7c00db6..deca8fa06 100644 --- a/numpy/lib/utils.py +++ b/numpy/lib/utils.py @@ -126,7 +126,7 @@ def who(vardict=None): namestr = name original=1 shapestr = " x ".join(map(str, var.shape)) - bytestr = str(var.itemsize*product(var.shape)) + bytestr = str(var.itemsize*product(var.shape,axis=0)) sta.append([namestr, shapestr, bytestr, var.dtype.name, original]) -- cgit v1.2.1