Commit e2bbed1e authored by Philipp Arras's avatar Philipp Arras

vdot always real

parent 41523232
Pipeline #31424 failed with stages
in 12 minutes and 52 seconds
......@@ -44,7 +44,7 @@ class UnitLogGauss(Energy):
@property
@memo
def value(self):
return .5 * self._s.value.vdot(self._s.value)
return .5 * self._s.value.vdot(self._s.value).real
@property
@memo
......
Markdown is supported
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