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

Add comment

parent 71262d82
......@@ -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
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