forked from M-Labs/artiq
transforms.iodelay_estimator: fix uninitialized access.
This commit is contained in:
parent
48a2bb10d5
commit
58db347e01
@ -266,6 +266,8 @@ class IODelayEstimator(algorithm.Visitor):
|
||||
{ arg: self.evaluate(args[arg], abort=abort) for arg in free_vars })
|
||||
else:
|
||||
assert False
|
||||
else:
|
||||
call_delay = iodelay.Const(0)
|
||||
|
||||
self.current_delay += call_delay
|
||||
node.iodelay = call_delay
|
||||
|
Loading…
Reference in New Issue
Block a user