summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-06-21 11:53:55 -0700
committerSebastian Berg <sebastian@sipsolutions.net>2022-06-21 12:43:31 -0700
commitd73b59450062d3a1fa6216e191bbfa20e5564e5f (patch)
treebca9b283241b7d8bf4f80257688c943ba44d8829 /numpy/array_api/_array_object.py
parent70026c4dde47d89d6a7a4916bfac045e714a5b4f (diff)
downloadnumpy-d73b59450062d3a1fa6216e191bbfa20e5564e5f.tar.gz
API: Define `<`, `<=`, `>`, `>=` for masked arrays
This defines the comparison operators (other than `==` and `!=`) explicitly for masked arrays. The mask is ignored for the resuling `res._data` (unlike `==` and `!=` which take the mask into account. Closes gh-21770, although the way that masked arrays propagate the fill-value seems generally broken and error prone.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions