Skip to content

Commit c305e9b

Browse files
authored
[Update] test matrix exp tol for mac m4 (#72482)
* [Update] test matrix exp tol for mac m4 * [Update] test matrix exp tol for mac m4
1 parent d6e8f53 commit c305e9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/legacy_test/test_linalg_matrix_exp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
if sys.platform == 'win32':
2727
RTOL = {'float32': 1e-02, 'float64': 1e-04}
2828
ATOL = {'float32': 1e-02, 'float64': 1e-04}
29+
elif sys.platform == 'darwin':
30+
RTOL = {'float32': 1e-06, 'float64': 1e-12}
31+
ATOL = {'float32': 1e-06, 'float64': 1e-12}
2932
else:
3033
RTOL = {'float32': 1e-06, 'float64': 1e-15}
3134
ATOL = {'float32': 1e-06, 'float64': 1e-15}

0 commit comments

Comments
 (0)