From 7d2fca291d0344580a8e1f9d0331fb7a47139387 Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 17 Nov 2015 01:30:19 +0300 Subject: [PATCH] compiler.iodelay: add missing import. --- artiq/compiler/iodelay.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/compiler/iodelay.py b/artiq/compiler/iodelay.py index 44b447325..3941ea22e 100644 --- a/artiq/compiler/iodelay.py +++ b/artiq/compiler/iodelay.py @@ -4,6 +4,8 @@ the statically inferred RTIO delay arising from executing a function. """ +from functools import reduce + class Expr: def __add__(lhs, rhs): assert isinstance(rhs, Expr)