diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-03 20:14:09 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-03 20:14:09 +0000 |
commit | 668950285c407593a368336ff2e737c5da84af7d (patch) | |
tree | 92c142c79cfa526f897254f62c8d99f759f1a629 /numpy/core/numeric.py | |
parent | fad726e58b7eb8452712a79a3cd52aee510f1104 (diff) | |
download | numpy-668950285c407593a368336ff2e737c5da84af7d.tar.gz |
Clean up scalar-types functions a bit.
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 166a2d5cc..0d1b69ae9 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 type(num) in ScalarType + return issctype(type(num)) _lkup = { '0':'0000', |