diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-03 20:19:30 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-03 20:19:30 +0000 |
commit | 63c8a61a6e7eca823b34b65b0a23cd6ea40623c8 (patch) | |
tree | 17dcc32e4de957345827d27b77f5556399160964 /numpy/core/numeric.py | |
parent | 668950285c407593a368336ff2e737c5da84af7d (diff) | |
download | numpy-63c8a61a6e7eca823b34b65b0a23cd6ea40623c8.tar.gz |
A few corrections to scalar-type tests
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index 0d1b69ae9..166a2d5cc 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -354,7 +354,7 @@ def isscalar(num): if isinstance(num, generic): return True else: - return issctype(type(num)) + return type(num) in ScalarType _lkup = { '0':'0000', |