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