Commit b6fbc0ac authored by sumpfralle's avatar sumpfralle

"norm" length for zero-sized vectors should be zero (fixing r219)


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@223 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent c25bdc90
......@@ -47,7 +47,7 @@ class Point:
self.x /= n
self.y /= n
self.z /= n
self._norm = 1.0
self._normsq = 1.0
self._norm = 1.0
self._normsq = 1.0
return self
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment