From c8b002934d1631b34daf51c1f4638db7aa635bdf Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sat, 17 Jul 2010 21:55:23 -0500
Subject: [PATCH] Loosen math test boundaries for CUDA-on-Fermi.

---
 test/test_math.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test_math.py b/test/test_math.py
index c7aabf46..58b6a09b 100644
--- a/test/test_math.py
+++ b/test/test_math.py
@@ -78,8 +78,8 @@ if have_cl():
     test_floor = make_unary_function_test("ceil", (-10, 10))
     test_fabs = make_unary_function_test("fabs", (-10, 10))
     test_exp = make_unary_function_test("exp", (-3, 3), 1e-5)
-    test_log = make_unary_function_test("log", (1e-5, 1), 5e-7)
-    test_log10 = make_unary_function_test("log10", (1e-5, 1), 3e-7)
+    test_log = make_unary_function_test("log", (1e-5, 1), 1e-6)
+    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_sin = make_unary_function_test("sin", (-10, 10), 1e-7)
-- 
GitLab