Skip to content
Snippets Groups Projects
Commit a7666aae authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'master' of t:src/pyopencl

parents 207f67f5 dc04da50
No related branches found
No related tags found
No related merge requests found
...@@ -215,7 +215,7 @@ def test_divide_scalar(ctx_getter): ...@@ -215,7 +215,7 @@ def test_divide_scalar(ctx_getter):
assert (a/2 == result).all() assert (a/2 == result).all()
result = (2/a_gpu).get() result = (2/a_gpu).get()
assert (2/a == result).all() assert (np.abs(2/a - result) < 1e-5).all()
......
...@@ -78,8 +78,8 @@ if have_cl(): ...@@ -78,8 +78,8 @@ if have_cl():
test_log10 = make_unary_function_test("log10", (1e-5, 1), 5e-7) test_log10 = make_unary_function_test("log10", (1e-5, 1), 5e-7)
test_sqrt = make_unary_function_test("sqrt", (1e-5, 1), 2e-7) test_sqrt = make_unary_function_test("sqrt", (1e-5, 1), 2e-7)
test_sin = make_unary_function_test("sin", (-10, 10), 1e-7) test_sin = make_unary_function_test("sin", (-10, 10), 2e-7)
test_cos = make_unary_function_test("cos", (-10, 10), 1e-7) test_cos = make_unary_function_test("cos", (-10, 10), 2e-7)
test_asin = make_unary_function_test("asin", (-0.9, 0.9), 5e-7) test_asin = make_unary_function_test("asin", (-0.9, 0.9), 5e-7)
test_acos = make_unary_function_test("acos", (-0.9, 0.9), 5e-7) test_acos = make_unary_function_test("acos", (-0.9, 0.9), 5e-7)
test_tan = make_unary_function_test("tan", test_tan = make_unary_function_test("tan",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment