Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
2147bf7c
Commit
2147bf7c
authored
Oct 17, 2019
by
Philipp Arras
Browse files
Add comment
parent
71262d82
Pipeline
#62090
passed with stages
in 9 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/inversion_enabler.py
View file @
2147bf7c
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment