forked from M-Labs/artiq
transforms.iodelay_estimator: actually iterate to fixpoint.
This commit is contained in:
parent
10f82ff2c8
commit
44d0a35409
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue