From 63c8a61a6e7eca823b34b65b0a23cd6ea40623c8 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Thu, 3 Aug 2006 20:19:30 +0000 Subject: A few corrections to scalar-type tests --- numpy/core/numeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/numeric.py') 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', -- cgit v1.2.1