diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-12-14 09:54:03 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-12-14 09:54:03 +0000 |
commit | 32789fd7d5fdce563c37363a3dd1192aafdc0a9e (patch) | |
tree | 75bd7b06bbfc2adf06b432c1895b8330c029ad0f /numpy/oldnumeric/compat.py | |
parent | 8bd6fb7ef7c81a97d3e86dc22badcf95af199860 (diff) | |
download | numpy-32789fd7d5fdce563c37363a3dd1192aafdc0a9e.tar.gz |
Fix typo in oldnumeric and add Rick White's improvement to histogram for large arrays.
Diffstat (limited to 'numpy/oldnumeric/compat.py')
-rw-r--r-- | numpy/oldnumeric/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/oldnumeric/compat.py b/numpy/oldnumeric/compat.py index 98a7f9259..42a98631f 100644 --- a/numpy/oldnumeric/compat.py +++ b/numpy/oldnumeric/compat.py @@ -56,7 +56,7 @@ def array_constructor(shape, typecode, thestr, Endian=LittleEndian): x = mu.fromstring(thestr, typecode) x.shape = shape if LittleEndian != Endian: - return x.byteswap(TRUE) + return x.byteswap(True) else: return x |