Commit d4babb8e authored by Martin Reinecke's avatar Martin Reinecke
Browse files

small performance tweak

parent 87793f67
Pipeline #18191 passed with stage
in 6 minutes and 27 seconds
......@@ -49,5 +49,6 @@ class WienerFilterCurvature(InvertibleOperatorMixin, EndomorphicOperator):
# ---Added properties and methods---
def _times(self, x, spaces):
return (self.R.adjoint_times(self.N.inverse_times(self.R(x))) +
res = self.R.adjoint_times(self.N.inverse_times(self.R(x)))
res += self.S.inverse_times(x)
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