From 8548a1501e49d277d13c26a586c9a503e941353d Mon Sep 17 00:00:00 2001 From: Matthias Diener <mdiener@illinois.edu> Date: Thu, 17 Jun 2021 14:12:11 -0500 Subject: [PATCH] fix(?) compile() signature --- arraycontext/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arraycontext/context.py b/arraycontext/context.py index 0859787..5afc942 100644 --- a/arraycontext/context.py +++ b/arraycontext/context.py @@ -350,7 +350,7 @@ class ArrayContext(ABC): "setup-only" array context "leaks" into the application. """ - def compile(self, f: Callable[[Any], Any]) -> Callable[..., Any]: + def compile(self, f: Callable[..., Any]) -> Callable[..., Any]: """Compiles *f* for repeated use on this array context. *f* is expected to be a `pure function <https://en.wikipedia.org/wiki/Pure_function>`__ performing an array computation. -- GitLab