Skip to content
Snippets Groups Projects
Commit 38ed0ec7 authored by Philipp Arras's avatar Philipp Arras
Browse files

Fix Gaussian curvature

parent 73c7b018
No related branches found
No related tags found
No related merge requests found
......@@ -61,4 +61,6 @@ class GaussianEnergy(Energy):
@property
@memo
def curvature(self):
if self._cov is None:
return SandwichOperator.make(self._inp.gradient)
return SandwichOperator.make(self._inp.gradient, self._cov.inverse)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment