Update rv_transformation_tests.py

This commit is contained in:
Max Zwiessele 2015-09-12 19:18:57 +01:00
parent 341f45b74c
commit 45b54e7bd1

View file

@ -56,9 +56,10 @@ class RVTransformationTestCase(unittest.TestCase):
#plt.show(block=True)
# END OF PLOT
# Check the gradients at a few random points
#np.random.seed(500)
np.random.seed(5)
for i in range(5):
m.theta = theta_s[i]
#m.theta = theta_s[i]
m.randomize()
self.assertTrue(m.checkgrad(verbose=True))
def test_Logexp(self):