Commit c0cfba6
committed
Allow forgiving tolerance on some array comparision tests
This may have comes with the numpy 2 change where the precision of scalars is now preserved consistently. See https://numpy.org/devdocs/numpy_2_0_migration_guide.html#changes-to-numpy-data-type-promotion
Observed testing results which failed only on the macOS runner:
Mismatched elements: 1 / 1 (100%)
Max absolute difference among violations: 2.74195588e-09
Max relative difference among violations: 3.36410326e-09
ACTUAL: array([0.815063], dtype=float32)
DESIRED: array(0.815063)1 parent f4def86 commit c0cfba6
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
0 commit comments