Skip to content

Commit

Permalink
Merge pull request #13 from dyalab/bugfix/quaternion-vector
Browse files Browse the repository at this point in the history
Bug fix for python quaternion code
  • Loading branch information
ndantam authored May 21, 2021
2 parents 6c660b2 + f7d7753 commit 3177ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/amino/tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def to_eulerzyx(self):

def vector(self):
"""Returns the vector (xyz) part"""
return Vec3(self.x, self.y, self.z)
return Vec3([self.x, self.y, self.z])

def scalar(self):
"""Returns the scalar (w) part"""
Expand Down

0 comments on commit 3177ece

Please sign in to comment.