Closed lostmsu closed 4 years ago
This applies to both operators like == and >, and __eq__-like functions. They return a new array object, which, unless all zeroes, is always "pythonically" True
==
>
__eq__
True
Use dynamic overloads, e.g. __eq___dyn
__eq___dyn
This applies to both operators like
==
and>
, and__eq__
-like functions. They return a new array object, which, unless all zeroes, is always "pythonically"True
Workaround
Use dynamic overloads, e.g.
__eq___dyn