Update rv_transformation_tests.py

This commit is contained in:
Max Zwiessele 2015-09-12 18:31:51 +01:00
parent 57ad1debfd
commit b8b7ca1e17

View file

@ -25,7 +25,7 @@ class TestModel(GPy.core.Model):
class RVTransformationTestCase(unittest.TestCase):
def _test_trans(self, trans):
m = TestModel(trans.name)
m = TestModel(trans.__class__.__name__)
prior = GPy.priors.LogGaussian(.5, 0.1)
m.theta.set_prior(prior)
m.theta.unconstrain()