[repetition.Arbitrary] fix equality check

This commit is contained in:
jan 2026-03-08 09:47:50 -07:00
commit 74fa377450

View file

@ -350,7 +350,7 @@ class Arbitrary(Repetition):
return (f'<Arbitrary {len(self.displacements)}pts >')
def __eq__(self, other: Any) -> bool:
if not type(other) is not type(self):
if type(other) is not type(self):
return False
return numpy.array_equal(self.displacements, other.displacements)