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 a9b5427 commit 39ced81Copy full SHA for 39ced81
larray/core/array.py
@@ -5648,7 +5648,11 @@ def opmethod(self, other):
5648
# TODO: ndarray should probably be converted to larrays because that would harmonize broadcasting rules, but
5649
# it makes some tests fail for some reason.
5650
if not isinstance(other, (Array, np.ndarray)) and not np.isscalar(other):
5651
- other = asarray(other)
+ if isinstance(other, list):
5652
+ other = asarray(other)
5653
+ else:
5654
+ # support for inspect.signature
5655
+ return False
5656
5657
if isinstance(other, Array):
5658
# TODO: first test if it is not already broadcastable
0 commit comments