Merge branch 'devel' of github.com:SheffieldML/GPy into devel

This commit is contained in:
Alan Saul 2015-09-08 18:08:03 +01:00
commit 07c2536719
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ class MiscTests(np.testing.TestCase):
print(w)
print(len(w))
assert len(w)==1 # should have one overflow warning
assert len(w)<=1 # should have one overflow warning
def test_safe_exp_lower(self):
assert GPy.util.misc.safe_exp(1e-10) < np.inf

View file

@ -251,7 +251,7 @@ class ParameterizedTest(unittest.TestCase):
def test_checkgrad(self):
assert(self.testmodel.kern.checkgrad())
assert(self.testmodel.kern.lengthscale.checkgrad())
assert(self.testmodel.likelihood.lengthscale.checkgrad())
assert(self.testmodel.likelihood.checkgrad())
def test_printing(self):
print(self.test1)