From 841e01a8bb042502e7c0aa81dabfa021dd580805 Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 17 Nov 2015 00:53:12 +0300 Subject: [PATCH] compiler.iodelay: fix typo in Var.__eq__. --- artiq/compiler/iodelay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}