Update rv_transformation_tests.py

This commit is contained in:
Max Zwiessele 2015-09-12 19:49:45 +01:00
parent f111d60ffc
commit 982e6d2c90

View file

@ -57,7 +57,7 @@ class RVTransformationTestCase(unittest.TestCase):
self.assertTrue(np.linalg.norm(pdf_phi - kde(phi)) / np.linalg.norm(kde(phi)) <= 1e-1)
# Check the gradients at a few random points
for i in range(5):
m.theta = theta_s[i]
m.theta = 1./(5+i)
self.assertTrue(m.checkgrad(verbose=True))
def test_Logexp(self):