Commit 446464d5 authored by Philipp Arras's avatar Philipp Arras
Browse files

Add consistency check to jacobian tests

parent e71ecace
Pipeline #74269 failed with stages
in 27 minutes and 59 seconds
......@@ -296,3 +296,4 @@ def check_jacobian_consistency(op, loc, tol=1e-8, ntries=100, perf_check=True):
print(hist)
raise ValueError("gradient and value seem inconsistent")
loc = locnext
consistency_check(linmid.jac)
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