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

Merge branch 'minorChanges' into 'nightly'

Minor changes

See merge request !201
parents ba9ee1ec 8783c592
......@@ -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