fixed bug in vector equals comparison

This commit is contained in:
Frank DeMarco 2020-03-04 19:37:56 -05:00
parent d5cd0de7a6
commit ed14f31b63
1 changed files with 2 additions and 2 deletions

View File

@ -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