From aa42827edb9535b83a128f13d64644aa40edec41 Mon Sep 17 00:00:00 2001 From: Mikael Mieskolainen Date: Sun, 1 Sep 2024 19:21:38 +0100 Subject: [PATCH] fix typo bug --- icenet/tools/icevec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)