From b4ab9f36aca81302d3e213ba295d047c0e848feb Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Wed, 3 Jul 2013 00:47:15 -0400
Subject: [PATCH] Increase __array_priority__ to not conflict with np.matrix

---
 pyopencl/array.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyopencl/array.py b/pyopencl/array.py
index 707cae1a..0e20645c 100644
--- a/pyopencl/array.py
+++ b/pyopencl/array.py
@@ -354,7 +354,7 @@ class Array(object):
 
     """
 
-    __array_priority__ = 10
+    __array_priority__ = 100
 
     def __init__(self, cqa, shape, dtype, order="C", allocator=None,
             data=None, offset=0, queue=None, strides=None, events=None):
-- 
GitLab