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

Merge branch 'nightly' of gitlab.mpcdf.mpg.de:ift/NIFTy into nightly

parents a6fb603f b4ab3e95
......@@ -49,7 +49,9 @@ class WienerFilterEnergy(Energy):
@property
@memo
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
@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