From 61c972fbd54d97350db4a1db4a57c6ce4389da67 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Sun, 13 Sep 2015 07:55:16 +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 22be8e54..0bb6720a 100644 --- a/GPy/testing/rv_transformation_tests.py +++ b/GPy/testing/rv_transformation_tests.py @@ -57,8 +57,8 @@ 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 for i in range(5): - print(theta_s[i]) m.theta = theta_s[i] + print(m.theta, m.optimizer_array, m.param_array) self.assertTrue(m.checkgrad(verbose=True)) def test_Logexp(self):