| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 04b1be5 commit 5c7d928
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -567,7 +567,7 @@ def test_Normalize(): | |||
| 567 | 567 | norm = plt.Normalize(1, 1 + 100 * eps) | |
| 568 | 568 | # This returns exactly 0.5 when longdouble is extended precision (80-bit), | |
| 569 | 569 | # but only a value close to it when it is quadruple precision (128-bit). | |
| 570 | - np.testing.assert_array_almost_equal_nulp(norm(1 + 50 * eps), 0.5) | ||
| 570 | + assert_array_almost_equal(norm(1 + 50 * eps), 0.5, decimal=3) | ||
| 571 | 571 | ||
| 572 | 572 | ||
| 573 | 573 | def test_FuncNorm(): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments