diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-09-28 09:19:26 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-09-28 09:19:26 +0000 |
commit | b5ec235f1e0f149867450dfc3b48386ca1797c05 (patch) | |
tree | ca4d731672260e5989dd5abdb43d816abdf7dd59 /scipy/base/numeric.py | |
parent | 2422edc80a3495a717d02e888f459b2967aacbf9 (diff) | |
download | numpy-b5ec235f1e0f149867450dfc3b48386ca1797c05.tar.gz |
Changes..
Diffstat (limited to 'scipy/base/numeric.py')
-rw-r--r-- | scipy/base/numeric.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scipy/base/numeric.py b/scipy/base/numeric.py index fb4a511dd..9683a4d4c 100644 --- a/scipy/base/numeric.py +++ b/scipy/base/numeric.py @@ -49,6 +49,7 @@ def isfortran(a): flags = a.flags return flags['FORTRAN'] and a.ndim > 1 + # from Fernando Perez's IPython def zeros_like(a): """Return an array of zeros of the shape and typecode of a. @@ -178,7 +179,6 @@ def cross(a, b, axisa=-1, axisb=-1, axisc=-1): #Use numarray's printing function from arrayprint import array2string, get_printoptions, set_printoptions - _typelessdata = [int, float, complex] if issubclass(intc, pyint): _typelessdata.append(intc) @@ -333,7 +333,7 @@ def setbufsize(size, where=0): frame = sys._getframe().f_back try: wh = where.lower() - except AttributError: + except AttributeError: pass if not where or where[0] == 'l': frame.f_locals[UFUNC_BUFSIZE_NAME] = size |