]> CRI, Mines Paris - PSL - linpy.git/blobdiff - pypol/coordinates.py
Private methods to sort points in a polygon, untested
[linpy.git] / pypol / coordinates.py
index eb8e78cdd9d64ac78e604e845389330ec8c3c0c9..9e46673153661d78cad3f87bf0ae33d7fe039d55 100644 (file)
@@ -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):