From ed14f31b63e48275ace049d556bfdfe6b2c6c01f Mon Sep 17 00:00:00 2001 From: Frank DeMarco Date: Wed, 4 Mar 2020 19:37:56 -0500 Subject: [PATCH] fixed bug in vector equals comparison --- pgfw/Vector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pgfw/Vector.py b/pgfw/Vector.py index faa79fa..d98ce62 100644 --- a/pgfw/Vector.py +++ b/pgfw/Vector.py @@ -60,13 +60,13 @@ class Vector(list): def __eq__(self, other): for sv, ov in zip(self, other): - if value != other[ii]: + if sv != ov: return False return True def __ne__(self, other): for sv, ov in zip(self, other): - if value == other[ii]: + if sv == ov: return False return True