diff options
| author | Raghuveer Devulapalli <raghuveer.devulapalli@intel.com> | 2021-07-15 14:38:27 -0700 |
|---|---|---|
| committer | Raghuveer Devulapalli <raghuveer.devulapalli@intel.com> | 2021-08-24 08:54:52 -0700 |
| commit | 84ced527f53a0a2e0b937ece69c56fd57fd391d1 (patch) | |
| tree | b3e219b5c080c1ce05c0015a98fc2c6e8f4b93e5 | |
| parent | 6fe51131fdd0c9221f23d0f43077bb62915abf67 (diff) | |
| download | numpy-84ced527f53a0a2e0b937ece69c56fd57fd391d1.tar.gz | |
TST: increase error tol from 12 to 11 decimal places for test_approximation
SVML library is accurate upto 4ULP and hence reduces the accuracy
slightly
| -rw-r--r-- | numpy/polynomial/tests/test_classes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/polynomial/tests/test_classes.py b/numpy/polynomial/tests/test_classes.py index 8e71a1945..6322062f2 100644 --- a/numpy/polynomial/tests/test_classes.py +++ b/numpy/polynomial/tests/test_classes.py @@ -597,4 +597,4 @@ class TestInterpolate: for deg in range(0, 10): for t in range(0, deg + 1): p = Chebyshev.interpolate(powx, deg, domain=[0, 2], args=(t,)) - assert_almost_equal(p(x), powx(x, t), decimal=12) + assert_almost_equal(p(x), powx(x, t), decimal=11) |
