Commit 413e8ee5 authored by Philipp Arras's avatar Philipp Arras
Browse files

exec_time: Support non-explicit energy operators

parent b5e93218
Pipeline #97377 passed with stages
in 11 minutes and 56 seconds
......@@ -479,7 +479,7 @@ def exec_time(obj, want_metric=True):
res = obj(lin)'Operator call with linearization: {}'.format(time() - t0))
if isinstance(obj, EnergyOperator):
if is DomainTuple.scalar_domain():
t0 = time()
res.gradient'Gradient evaluation: {}'.format(time() - t0))
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