From 60613ce89177a416df0d3bbc19f7ff95c9cb9fe6 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Mon, 14 Sep 2015 17:21:47 +0100 Subject: [PATCH] Update rv_transformation_tests.py --- GPy/testing/rv_transformation_tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/GPy/testing/rv_transformation_tests.py b/GPy/testing/rv_transformation_tests.py index 59c79044..f5f633ac 100644 --- a/GPy/testing/rv_transformation_tests.py +++ b/GPy/testing/rv_transformation_tests.py @@ -57,6 +57,7 @@ class RVTransformationTestCase(unittest.TestCase): self.assertTrue(np.linalg.norm(pdf_phi - kde(phi)) / np.linalg.norm(kde(phi)) <= 1e-1) def _test_grad(self, trans): + np.random.seed(1234) m = TestModel(np.random.uniform(.5, 1.5, 20)) prior = GPy.priors.LogGaussian(.5, 0.1) m.theta.set_prior(prior)