Skip to content

Commit 6fe440c

Browse files
authored
Relax chebyshev kernel test tolerance (#214)
1 parent 3a9a2b4 commit 6fe440c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_loops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ def chebyshev_kernel(x: torch.Tensor, w: torch.Tensor) -> torch.Tensor:
13061306

13071307
code, result = code_and_output(chebyshev_kernel, args)
13081308
expected = chebyshev_torch(args[0], args[1])
1309-
torch.testing.assert_close(result, expected, rtol=1e-5, atol=1e-5)
1309+
torch.testing.assert_close(result, expected, rtol=1e-4, atol=1e-4)
13101310
self.assertExpectedInline(
13111311
code,
13121312
"""\

0 commit comments

Comments
 (0)