Commit fa2b0e38 authored by Martin Reinecke's avatar Martin Reinecke

remove debug print

parent 0bb768e7
Pipeline #26786 passed with stages
in 21 minutes and 37 seconds
......@@ -49,7 +49,6 @@ def check_value_gradient_consistency(E, tol=1e-6, ntries=100):
dirnorm = dir.norm()
dirder = E.gradient.vdot(dir)/dirnorm
for i in range(50):
print(abs((E2.value-E.value)/dirnorm-dirder))
if abs((E2.value-E.value)/dirnorm-dirder) < tol:
break
dir *= 0.5
......
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