Commit c4f02501 authored by Martin Reinecke's avatar Martin Reinecke

relax accuracy criterion

parent 939a0fd1
Pipeline #31561 failed with stages
in 4 minutes and 3 seconds
......@@ -44,7 +44,7 @@ def _get_acceptable_energy(E):
return E2
def check_value_gradient_consistency(E, tol=1e-10, ntries=100):
def check_value_gradient_consistency(E, tol=1e-8, ntries=100):
for _ in range(ntries):
E2 = _get_acceptable_energy(E)
val = E.value
......@@ -65,7 +65,7 @@ def check_value_gradient_consistency(E, tol=1e-10, ntries=100):
# E = Enext
def check_value_gradient_curvature_consistency(E, tol=1e-10, ntries=100):
def check_value_gradient_curvature_consistency(E, tol=1e-8, ntries=100):
for _ in range(ntries):
E2 = _get_acceptable_energy(E)
val = E.value
......
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