Export to GitHub

pyeuclid - issue #2

Vector3.__eq__ is giving weird results.


Posted on Aug 8, 2007 by Helpful Hippo

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.

Comment #1

Posted on Aug 14, 2007 by Quick Bird

Cool. Fixed in r22.

Comment #2

Posted on Feb 15, 2008 by Quick Bird

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium