X-Git-Url: https://scm.cri.mines-paristech.fr/git/linpy.git/blobdiff_plain/3d17926f6a9051fd4b3a2c19b756849103592bd9..45951a9f688b1a3dda02979cacb93747b1422709:/pypol/coordinates.py diff --git a/pypol/coordinates.py b/pypol/coordinates.py index eb8e78c..9e46673 100644 --- a/pypol/coordinates.py +++ b/pypol/coordinates.py @@ -171,7 +171,7 @@ class Vector(Coordinates): """ if not isinstance(other, Vector): raise TypeError('argument must be a Vector instance') - cosinus = self.dot(other) / (self.norm() * other.norm()) + cosinus = self.dot(other) / (self.norm()*other.norm()) return math.acos(cosinus) def cross(self, other):