Commit 64179bb4 authored by Philipp Arras's avatar Philipp Arras
Browse files

Cosmetics

parent 38ed0ec7
...@@ -61,6 +61,4 @@ class GaussianEnergy(Energy): ...@@ -61,6 +61,4 @@ class GaussianEnergy(Energy):
@property @property
@memo @memo
def curvature(self): def curvature(self):
if self._cov is None:
return SandwichOperator.make(self._inp.gradient)
return SandwichOperator.make(self._inp.gradient, self._cov.inverse) 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