Skip to content
Snippets Groups Projects
Commit e08969f6 authored by Matt Smith's avatar Matt Smith Committed by Andreas Klöckner
Browse files

fix type signature of wrapper func


Co-authored-by: default avatarAlex Fikl <alexfikl@gmail.com>
parent 84a84ced
No related branches found
No related tags found
No related merge requests found
Pipeline #202574 passed
......@@ -142,7 +142,7 @@ def _multimap_array_container_impl(
if len(container_indices) == 1 and reduce_func is None:
# NOTE: if we just have one ArrayContainer in args, passing it through
# _map_array_container_impl should be faster
def wrapper(ary: ContainerT) -> ContainerT:
def wrapper(ary: ArrayOrContainerT) -> ArrayOrContainerT:
new_args = list(args)
new_args[container_indices[0]] = ary
return f(*new_args)
......
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