chaomodus/pyeuclid

Vector3.__eq__ is giving weird results.

GoogleCodeExporter opened this issue · 2 comments

What steps will reproduce the problem?
>>> a = Vector3(0.00, 0.00, 0.00)
>>> b = Vector3(0.00, 0.00, 0.00)
>>> a == b
True
>>> a != b
True

What version of the product are you using? On what operating system?
Python 2.5.1 on Ubuntu Fiesty
Linux xxargling 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
GNU/Linux

Please provide any additional information below.
In the original code where this problem arose; computing the comparison
piece-wise (ie; a.x == b.x and a.y ...) gave the expected results.


Original issue reported on code.google.com by Bonf...@gmail.com on 8 Aug 2007 at 9:24

Original comment by Alex.Hol...@gmail.com on 15 Feb 2008 at 11:49

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****
Cool.  Fixed in r22.

Original comment by Alex.Hol...@gmail.com on 14 Aug 2007 at 2:19

  • Added labels: ****
  • Removed labels: ****