Skip to content
Snippets Groups Projects
Commit da69b887 authored by Markus Holzer's avatar Markus Holzer
Browse files

Implemented trigonometry functions good

parent 5c062c6b
Branches
No related tags found
No related merge requests found
Pipeline #36960 failed
......@@ -63,4 +63,5 @@ def test_single_arguments(dtype, func, target):
dh.run_kernel(kernel)
dh.all_to_cpu()
np.testing.assert_allclose(dh.gather_array("x")[0, 0], float(func(1.0).evalf()))
np.testing.assert_allclose(dh.gather_array("x")[0, 0], float(func(1.0).evalf()),
rtol=10**-3 if dtype == 'float32' else 10**-5)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment