From b8b7ca1e17666e312fffd04e6245a91fa921d302 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Sat, 12 Sep 2015 18:31:51 +0100 Subject: [PATCH] Update rv_transformation_tests.py --- GPy/testing/rv_transformation_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/testing/rv_transformation_tests.py b/GPy/testing/rv_transformation_tests.py index f93eaf6a..59b5c86c 100644 --- a/GPy/testing/rv_transformation_tests.py +++ b/GPy/testing/rv_transformation_tests.py @@ -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()