We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a7de34 commit 99d3da3Copy full SHA for 99d3da3
larray/core.py
@@ -1359,7 +1359,7 @@ def _binop(opname):
1359
def opmethod(self, other):
1360
if isinstance(other, LArray):
1361
#TODO: first test if it is not already broadcastable
1362
- other = other.broadcast_with(self)
+ other = other.broadcast_with(self).data
1363
elif isinstance(other, np.ndarray):
1364
pass
1365
elif not np.isscalar(other):
@@ -1567,6 +1567,8 @@ def __len__(self):
1567
def __array__(self, dtype=None):
1568
return self.data
1569
1570
+ __array_priority__ = 100
1571
+
1572
1573
1574
def parse(s):
0 commit comments