Commit a4888647 authored by Philipp Arras's avatar Philipp Arras
Browse files

Cleanup

parent 9da9029d
Pipeline #31631 failed with stages
in 4 minutes and 9 seconds
......@@ -75,9 +75,5 @@ class ModelGradientOperator(LinearOperator):
for dd in self.domain:
if dd in grad_keys:
res[dd] = self._gradients[dd].adjoint_times(x)
# else:
# res[dd] = full(self.domain[dd], 0.)
res = MultiField(res)
# if not res.domain == self.domain:
# raise TypeError
return res
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