Commit e8c088c
authored
This PR suggests using `assert_allclose` instead of `assert_equal` with
a resolution-based tolerance in `TestSpacing::test_zeros` to fix test
failures on CUDA caused by excessive precision for float32.
And updates `TestTensordot::test_axes` and `TestTensordot::test_linalg`
to increase a factor parameter in `assert_dtype_allclose` for scaling
tolerance
1 parent 1bed3bd commit e8c088c
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2111 | 2111 | | |
2112 | 2112 | | |
2113 | 2113 | | |
| 2114 | + | |
2114 | 2115 | | |
2115 | | - | |
| 2116 | + | |
2116 | 2117 | | |
2117 | 2118 | | |
2118 | 2119 | | |
2119 | 2120 | | |
2120 | 2121 | | |
2121 | | - | |
| 2122 | + | |
2122 | 2123 | | |
2123 | 2124 | | |
2124 | 2125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
| 802 | + | |
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
847 | | - | |
| 847 | + | |
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
| |||
0 commit comments