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
344c2c08
Commit
344c2c08
authored
May 02, 2018
by
Martin Reinecke
Browse files
temporary fix
parent
5cf3ed2d
Pipeline
#28468
passed with stages
in 2 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty4/operators/linear_operator.py
View file @
344c2c08
...
...
@@ -271,8 +271,9 @@ class LinearOperator(NiftyMetaBase()):
raise
ValueError
(
"requested operator mode is not supported"
)
def
_check_input
(
self
,
x
,
mode
):
if
not
isinstance
(
x
,
Field
):
raise
ValueError
(
"supplied object is not a `Field`."
)
# MR FIXME: temporary fix for working with MultiFields
#if not isinstance(x, Field):
# raise ValueError("supplied object is not a `Field`.")
self
.
_check_mode
(
mode
)
if
x
.
domain
!=
self
.
_dom
(
mode
):
...
...
Write
Preview
Supports
Markdown
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