Commit d541b2ca authored by Theo Steininger's avatar Theo Steininger

Removed `_inverse_adjoint_times` from Operator classes.

parent cf88ed2e
Pipeline #12817 passed with stages
in 11 minutes and 8 seconds
......@@ -131,9 +131,6 @@ class ComposedOperator(LinearOperator):
def _adjoint_inverse_times(self, x, spaces):
return self._times_helper(x, spaces, func='adjoint_inverse_times')
def _inverse_adjoint_times(self, x, spaces):
return self._times_helper(x, spaces, func='inverse_adjoint_times')
def _times_helper(self, x, spaces, func):
space_index = 0
if spaces is None:
......
......@@ -103,8 +103,3 @@ class InvertibleOperatorMixin(object):
b=x,
x0=x0)
return result
#MR FIXME: why? shouldn't this be equivalent to the adjoint inverse?
def _inverse_adjoint_times(self, x, spaces):
raise NotImplementedError(
"no generic instance method 'inverse_adjoint_times'.")
......@@ -269,10 +269,6 @@ class LinearOperator(Loggable, object):
raise NotImplementedError(
"no generic instance method 'adjoint_inverse_times'.")
def _inverse_adjoint_times(self, x, spaces):
raise NotImplementedError(
"no generic instance method 'inverse_adjoint_times'.")
def _check_input_compatibility(self, x, spaces, inverse=False):
if not isinstance(x, Field):
raise ValueError(
......
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