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
97484866
Commit
97484866
authored
May 20, 2020
by
Philipp Arras
Browse files
Fixup
parent
24addafb
Pipeline
#75323
passed with stages
in 8 minutes and 34 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
nifty6/multi_field.py
View file @
97484866
...
...
@@ -83,9 +83,9 @@ class MultiField(Operator):
def
domain
(
self
):
return
self
.
_domain
#
@property
#
def dtype(self):
#
return {key: val.dtype for key, val in self.
_val.
items()}
@
property
def
dtype
(
self
):
return
{
key
:
val
.
dtype
for
key
,
val
in
self
.
items
()}
def
_transform
(
self
,
op
):
return
MultiField
(
self
.
_domain
,
tuple
(
op
(
v
)
for
v
in
self
.
_val
))
...
...
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