From 45b54e7bd1b6e02e4c85c0e11a2b6fa2922eac65 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Sat, 12 Sep 2015 19:18:57 +0100 Subject: [PATCH] Update rv_transformation_tests.py --- GPy/testing/rv_transformation_tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GPy/testing/rv_transformation_tests.py b/GPy/testing/rv_transformation_tests.py index 40dcd11d..d0ce6d12 100644 --- a/GPy/testing/rv_transformation_tests.py +++ b/GPy/testing/rv_transformation_tests.py @@ -56,9 +56,10 @@ class RVTransformationTestCase(unittest.TestCase): #plt.show(block=True) # END OF PLOT # Check the gradients at a few random points - #np.random.seed(500) + np.random.seed(5) for i in range(5): - m.theta = theta_s[i] + #m.theta = theta_s[i] + m.randomize() self.assertTrue(m.checkgrad(verbose=True)) def test_Logexp(self):