Skip to content

Commit ee6be26

Browse files
committed
bugfix
1 parent 91110e6 commit ee6be26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flox/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ def dask_groupby_agg(
13681368
raise ValueError(f"Unknown method={method}.")
13691369

13701370
# extract results from the dict
1371-
adjust_chunks = {inds[ax]: lambda: 0 for ax in axis}
1371+
adjust_chunks = {inds[ax]: lambda c: 0 for ax in axis}
13721372
if method == "blockwise" and len(axis) > 1:
13731373
nblocks = tuple(len(array.chunks[ax]) for ax in axis)
13741374
group_chunks = np.unravel_index(group_chunks, nblocks)

0 commit comments

Comments
 (0)