diff --git a/artiq/compiler/transforms/iodelay_estimator.py b/artiq/compiler/transforms/iodelay_estimator.py index 9487fde0a..f8c190fb4 100644 --- a/artiq/compiler/transforms/iodelay_estimator.py +++ b/artiq/compiler/transforms/iodelay_estimator.py @@ -108,7 +108,10 @@ class IODelayEstimator(algorithm.Visitor): return try: + old_delay = typ.delay.find() typ.delay.unify(delay) + if typ.delay.find() != old_delay: + self.changed = True except types.UnificationError as e: printer = types.TypePrinter() diag = diagnostic.Diagnostic("fatal",