From 9a6ae576e971af16745deb2a1f501b19d00c7af8 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Sun, 13 Sep 2015 23:01:17 +0100 Subject: [PATCH] Update rv_transformation_tests.py --- GPy/testing/rv_transformation_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/testing/rv_transformation_tests.py b/GPy/testing/rv_transformation_tests.py index 1a2285cb..36218b0f 100644 --- a/GPy/testing/rv_transformation_tests.py +++ b/GPy/testing/rv_transformation_tests.py @@ -57,7 +57,7 @@ class RVTransformationTestCase(unittest.TestCase): self.assertTrue(np.linalg.norm(pdf_phi - kde(phi)) / np.linalg.norm(kde(phi)) <= 1e-1) # Check the gradients at a few random points checks_failed = 0. - checks = 10 + checks = 5 for i in range(checks): m.theta = theta_s[i] print(m.theta, m.optimizer_array, m.param_array)