diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2022-12-21 12:20:22 +0100 |
---|---|---|
committer | Sebastian Berg <sebastianb@nvidia.com> | 2022-12-21 17:13:46 +0100 |
commit | d398317bc5eda33a49c699bed0f169dfea09e901 (patch) | |
tree | aaf4e52104db5f894a0d1ea4f494f338bdb75e65 /numpy/array_api/_set_functions.py | |
parent | 0d1bb8e42228776dc8d35bdcfacf2ff3af366ade (diff) | |
download | numpy-d398317bc5eda33a49c699bed0f169dfea09e901.tar.gz |
BUG: Fortify string casts against floating point warnings
This removes the check for floating point warnings, which is enough
in practice. (In principle ufuncs or structured dtypes can chain
casts in a way that causes us to check anyway.)
It also checks for isfinite in the scalar repr code so the warnings
shouldn't be set to begin with.
Closes gh-22843
Diffstat (limited to 'numpy/array_api/_set_functions.py')
0 files changed, 0 insertions, 0 deletions