We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66a64a3 commit eb1b2e2Copy full SHA for eb1b2e2
dpath/types.py
@@ -21,7 +21,7 @@ def __eq__(self, other):
21
if not isinstance(other, int):
22
return False
23
24
- if other >= self.max_value or other >= -self.max_value:
+ if other >= self.max_value or other <= -self.max_value:
25
26
27
return int(self) == (self.max_value + other) % self.max_value
0 commit comments