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
00536ff8
Commit
00536ff8
authored
Jan 03, 2019
by
Philipp Frank
Browse files
fix to_global_data
parent
940ba52d
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/library/light_cone_operator.py
View file @
00536ff8
...
...
@@ -39,7 +39,7 @@ class LightConeDerivative(LinearOperator):
def
apply
(
self
,
x
,
mode
):
self
.
_check_input
(
x
,
mode
)
x
=
x
.
val
x
=
x
.
to_global_data
()
res
=
np
.
zeros
(
self
.
_tgt
(
mode
).
shape
,
dtype
=
self
.
_derivatives
.
dtype
)
for
i
in
range
(
self
.
domain
.
shape
[
0
]):
if
mode
==
self
.
TIMES
:
...
...
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