Commit e2cbdb04 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

relax test a little

parent 3fb9c0fb
......@@ -102,4 +102,4 @@ class Energy_Tests(unittest.TestCase):
d = np.random.binomial(1, 0.1, size=space.shape)
d = ift.Field.from_global_data(space, d)
energy = ift.BernoulliEnergy(ift.positive_tanh, d)
ift.extra.check_value_gradient_consistency(energy, model, tol=1e-7)
ift.extra.check_value_gradient_consistency(energy, model, tol=2e-7)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment