Commit 38ed0ec7 authored by Philipp Arras's avatar Philipp Arras
Browse files

Fix Gaussian curvature

parent 73c7b018
......@@ -61,4 +61,6 @@ class GaussianEnergy(Energy):
def curvature(self):
if self._cov is None:
return SandwichOperator.make(self._inp.gradient)
return SandwichOperator.make(self._inp.gradient, self._cov.inverse)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment