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
38ed0ec7
Commit
38ed0ec7
authored
Jun 29, 2018
by
Philipp Arras
Browse files
Fix Gaussian curvature
parent
73c7b018
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/library/gaussian_energy.py
View file @
38ed0ec7
...
...
@@ -61,4 +61,6 @@ class GaussianEnergy(Energy):
@
property
@
memo
def
curvature
(
self
):
return
SandwichOperator
.
make
(
self
.
_inp
.
gradient
)
if
self
.
_cov
is
None
:
return
SandwichOperator
.
make
(
self
.
_inp
.
gradient
)
return
SandwichOperator
.
make
(
self
.
_inp
.
gradient
,
self
.
_cov
.
inverse
)
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