From 9c6abfc27001a26e49bb091f01c758fc6a26cad4 Mon Sep 17 00:00:00 2001 From: Alan Saul Date: Mon, 24 Mar 2014 10:15:46 +0000 Subject: [PATCH] Whoops! --- GPy/testing/model_tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GPy/testing/model_tests.py b/GPy/testing/model_tests.py index b14385d0..3c39c5e0 100644 --- a/GPy/testing/model_tests.py +++ b/GPy/testing/model_tests.py @@ -59,10 +59,9 @@ class MiscTests(unittest.TestCase): #np.testing.assert_almost_equal(mu_hat, mu) def test_likelihood_replicate(self): - tol = 1e-5 m = GPy.models.GPRegression(self.X, self.Y) m2 = GPy.models.GPRegression(self.X, self.Y) - np.testing.assert_equal(m.log_likelihood(), m2.log_likelihood(), tol=tol) + np.testing.assert_equal(m.log_likelihood(), m2.log_likelihood()) m.randomize() m2[:] = m[''].values() np.testing.assert_equal(m.log_likelihood(), m2.log_likelihood())