Commit 4b5c044b authored by Philipp Arras's avatar Philipp Arras
Browse files

Make .force() compatible with LinearOperator

parent 14e3add1
......@@ -143,6 +143,9 @@ class LinearOperator(Operator):
"""
return self._capability
def force(self, x):
return self.apply(x.extract(self.domain), self.TIMES)
def apply(self, x, mode):
""" Applies the Operator to a given `x`, in a specified `mode`.
......
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