Skip to content

Commit 9b4c57b

Browse files
committed
Comment out codomain range limit in the atan2 test
I can't reproduce the failure any more with NumPy. If it shows up again, we can readd it.
1 parent 8ad16ff commit 9b4c57b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

array_api_tests/test_elementwise_functions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ def test_atan2(args):
150150
PI = π(a.shape, a.dtype)
151151
domainx1 = inrange(x1, -INFINITY1, INFINITY1)
152152
domainx2 = inrange(x2, -INFINITY2, INFINITY2)
153-
codomain = inrange(a, -PI, PI, 1e-5)
153+
# codomain = inrange(a, -PI, PI, 1e-5)
154+
codomain = inrange(a, -PI, PI)
154155
# atan2 maps [-inf, inf] x [-inf, inf] to [-pi, pi]. Values outside
155156
# this domain are mapped to nan, which is already tested in the special
156157
# cases.

0 commit comments

Comments
 (0)