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

Fixed two .dot remnants.

parent ccec27cf
......@@ -24,7 +24,7 @@ class WienerFilterEnergy(Energy):
@property
def value(self):
D_inv_x = self.D_inverse_x()
H = 0.5 * D_inv_x.vdot(self.position) - self.j.dot(self.position)
H = 0.5 * D_inv_x.vdot(self.position) - self.j.vdot(self.position)
return H.real
@property
......
......@@ -1100,7 +1100,7 @@ class Field(Loggable, Versionable, object):
The Lq-norm of the field values.
"""
return np.sqrt(np.abs(self.dot(x=self)))
return np.sqrt(np.abs(self.vdot(x=self)))
def conjugate(self, inplace=False):
""" Retruns the complex conjugate of the field.
......
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