diff options
author | Pal Barta <bartapal.hu@gmail.com> | 2022-08-10 11:20:50 -0400 |
---|---|---|
committer | Pal Barta <bartapal.hu@gmail.com> | 2022-08-10 11:20:50 -0400 |
commit | 002df0e20f109dd001053f42bdc9a90632f536ff (patch) | |
tree | 0d3da331653853f529ef31c91a8ccfbe2b8fe52b /numpy/array_api/tests/test_asarray.py | |
parent | a642e1f0437571be82966069484dd359732c852b (diff) | |
download | numpy-002df0e20f109dd001053f42bdc9a90632f536ff.tar.gz |
TST: fix test_linear_interpolation_formula_symmetric
The lerp test compared the output of the original and the symmetric
functions by using basic assertion. Double precision errors could
accumulate in a way that the 2 outputs mismatch by epsilon.
For more information on the precision issue, see #22073
Fix: use assert_allclose instead for float comparison.
Diffstat (limited to 'numpy/array_api/tests/test_asarray.py')
0 files changed, 0 insertions, 0 deletions