diff --git a/pyerrors/obs.py b/pyerrors/obs.py index 6be18c0b..24ef3720 100644 --- a/pyerrors/obs.py +++ b/pyerrors/obs.py @@ -692,7 +692,7 @@ class Obs: hash_tuple += tuple([o.encode() for o in self.names]) m = hashlib.md5() [m.update(o) for o in hash_tuple] - return int(m.hexdigest(), 16) + return int(m.hexdigest(), 16) & 0xFFFFFFFF # Overload comparisons def __lt__(self, other):