diff --git a/icenet/tools/icevec.py b/icenet/tools/icevec.py index 329661e8..c4a079df 100644 --- a/icenet/tools/icevec.py +++ b/icenet/tools/icevec.py @@ -68,8 +68,8 @@ def __str__(self): def scale(self, a): # Scale all components - self.x, self.y, self.z, self.t = a*self.x, a*self.y, a*self.y, a*self.t - + self.x, self.y, self.z, self.t = a*self.x, a*self.y, a*self.z, a*self.t + def dot4(self, other): # 4-vector dot product return self.t*other.t - (self.x*other.x + self.y*other.y + self.z*other.z)