Skip to content
Snippets Groups Projects
Commit 11413afa authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Prevent CL object arrays.

parent 54133da1
No related branches found
No related tags found
No related merge requests found
......@@ -438,6 +438,9 @@ class Array(object):
# }}}
if dtype == np.object:
raise TypeError("object arrays on the compute device are not allowed")
self.queue = queue
self.shape = shape
self.dtype = dtype
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment