simon-svn: gonville: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Wed Oct 14 18:33:08 BST 2009


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       8705
Date:           2009-10-14 18:33:08 +0100 (Wed, 14 Oct 2009)

Log message (3 lines):
Taking the dot product of two unit vectors can occasionally come to
more than 1, if they're copies of the same vector but with slightly
different rounding errors. Clip to avoid domain error in acos.

Modified files:
U   gonville/curves.py

Links:
http://svn.tartarus.org/sgt/?rev=8705&view=rev
http://svn.tartarus.org/sgt/gonville/curves.py?rev=8705&r1=8704&r2=8705



More information about the tartarus-commits mailing list