Commit fb6d3eb1 authored by Theo Steininger's avatar Theo Steininger
Browse files

Merge branch 'nightly' of into nightly

parents a6fb603f b4ab3e95
...@@ -49,7 +49,9 @@ class WienerFilterEnergy(Energy): ...@@ -49,7 +49,9 @@ class WienerFilterEnergy(Energy):
@property @property
@memo @memo
def value(self): def value(self):
return 0.5*self.position.vdot(self._Dx) - self._j.vdot(self.position) energy = 0.5*self.position.vdot(self._Dx)
energy -= self._j.vdot(self.position)
return energy.real
@property @property
@memo @memo
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