From f9fb017875d01b907c65a8dbe507cbc89103efbd Mon Sep 17 00:00:00 2001 From: Victor Leikehman Date: Mon, 13 Oct 2014 08:53:32 +0300 Subject: [PATCH] bugfix --- smop/runtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smop/runtime.py b/smop/runtime.py index 74299403..8089c4d2 100644 --- a/smop/runtime.py +++ b/smop/runtime.py @@ -497,7 +497,7 @@ def isequal_(a,b): return np.array_equal(np.asanyarray(a), np.asanyarray(b)) -def isscalar_(a) +def isscalar_(a): """np.isscalar returns True if a.__class__ is a scalar type (i.e., int, and also immutable containers str and tuple, but not list.) Our requirements are different"""