mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-05 14:55:15 +02:00
Merge branch 'devel' of github.com:SheffieldML/GPy into devel
This commit is contained in:
commit
07c2536719
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue