Skip to content

Commit e9cb214

Browse files
committed
mypyc seems to need some assistance...
1 parent e463578 commit e9cb214

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

quadint/quad.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ def __eq__(self, other: object) -> bool:
334334
return self.ring.D == other.ring.D and self.ring.den == other.ring.den \
335335
and self.a == other.a and self.b == other.b
336336

337+
def __ne__(self, other: object) -> bool:
338+
return not self.__eq__(other)
339+
337340
def __hash__(self) -> int:
338341
return hash((self.a, self.b, self.ring.D))
339342

0 commit comments

Comments
 (0)