diff --git a/artiq/compiler/iodelay.py b/artiq/compiler/iodelay.py index b575caac7..44b447325 100644 --- a/artiq/compiler/iodelay.py +++ b/artiq/compiler/iodelay.py @@ -66,7 +66,7 @@ class Var(Expr): return self.name def __eq__(lhs, rhs): - return rhs.__class__ == lhs.__class__ and lhs.value == rhs.value + return rhs.__class__ == lhs.__class__ and lhs.name == rhs.name def free_vars(self): return {self.name}