Skip to content

Commit

Permalink
fix typo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mieskolainen committed Sep 1, 2024
1 parent ce846c9 commit aa42827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions icenet/tools/icevec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aa42827

Please sign in to comment.