summaryrefslogtreecommitdiff
path: root/numpy/_array_api/_utility_functions.py
diff options
context:
space:
mode:
authorAaron Meurer <asmeurer@gmail.com>2021-07-15 18:44:47 -0600
committerAaron Meurer <asmeurer@gmail.com>2021-07-15 18:44:47 -0600
commit6f98f9e0b73d4ca9e5a7d85091593ca8f0718e97 (patch)
treecf5a06cb33060615d68e34bcdc9196e3a9581990 /numpy/_array_api/_utility_functions.py
parent6855a8ad71a5041d9a2804910f011ac09a859a48 (diff)
downloadnumpy-6f98f9e0b73d4ca9e5a7d85091593ca8f0718e97.tar.gz
Remove error ignoring in the array API namespace
The array API requires that elementwise functions always give a value, like nan. However, it doesn't specify that the functions need not give warnings. It is possible here to still break things by manually changing warnings into errors with np.seterr(), but this is considered unsupported behavior.
Diffstat (limited to 'numpy/_array_api/_utility_functions.py')
0 files changed, 0 insertions, 0 deletions