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
Neel Shah
NIFTy
Commits
956057e0
Commit
956057e0
authored
Nov 06, 2019
by
Philipp Arras
Browse files
Explicit real part in Lightcone operator
Was taken implicitly before
parent
024b3725
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/library/light_cone_operator.py
View file @
956057e0
...
...
@@ -63,7 +63,7 @@ class _LightConeDerivative(LinearOperator):
if
mode
==
self
.
TIMES
:
res
+=
self
.
_derivatives
[
i
]
*
x
[
i
]
else
:
res
[
i
]
=
np
.
sum
(
self
.
_derivatives
[
i
]
*
x
)
res
[
i
]
=
np
.
sum
(
self
.
_derivatives
[
i
]
*
x
.
real
)
return
Field
.
from_global_data
(
self
.
_tgt
(
mode
),
res
)
...
...
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