Commit 2147bf7c authored by Philipp Arras's avatar Philipp Arras

Add comment

parent 71262d82
Pipeline #62090 passed with stages
in 9 minutes and 11 seconds
......@@ -48,6 +48,8 @@ class InversionEnabler(EndomorphicOperator):
"""
def __init__(self, op, iteration_controller, approximation=None):
# isinstance(op, EndomorphicOperator) does not suffice since op can be
# a ChainOperator
if not isinstance(op, LinearOperator):
raise TypeError('Operator needs to be linear.')
if op.domain is not op.target:
......
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