Skip to content
Snippets Groups Projects
Commit 8548a150 authored by Matthias Diener's avatar Matthias Diener
Browse files

fix(?) compile() signature

parent c67b5fc6
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment