Skip to content
GitLab
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
b49ed2f5
Commit
b49ed2f5
authored
Mar 11, 2020
by
Philipp Arras
Browse files
Fixup
parent
a8f5fcd1
Pipeline
#70585
failed with stages
in 12 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty6/operators/operator.py
View file @
b49ed2f5
...
...
@@ -180,7 +180,7 @@ class Operator(metaclass=NiftyMeta):
def
force
(
self
,
x
):
"""Extract subset of domain of x according to `self.domain` and apply
operator."""
return
self
.
apply
(
x
.
extract
(
self
.
domain
))
return
self
.
apply
(
x
.
extract
(
self
.
domain
)
,
0
)
def
_check_input
(
self
,
x
):
if
not
isinstance
(
x
,
(
Field
,
MultiField
)):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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