diff --git a/pyopencl/array.py b/pyopencl/array.py index 8cefeb2780adf2eeb435df5f2af7dacbc8832504..54a4a61e1754100876114d28b70a4b261d48d5e5 100644 --- a/pyopencl/array.py +++ b/pyopencl/array.py @@ -476,7 +476,7 @@ class Array(object): # }}} - if dtype == np.object: + if dtype == object: raise TypeError("object arrays on the compute device are not allowed") self.queue = queue