Skip to content

Commit 77e585b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7f77ddf commit 77e585b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dask_histogram/core.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,7 @@ def _partitioned_histogram(
10261026
# Single awkward array object.
10271027
if len(data) == 1 and data_is_dak:
10281028
from dask_awkward.lib.core import partitionwise_layer as dak_pwl
1029+
10291030
f = partial(_blocked_dak, histref=histref)
10301031

10311032
x = data[0]
@@ -1034,7 +1035,7 @@ def _partitioned_histogram(
10341035
elif weights is not None and sample is None:
10351036
g = dak_pwl(f, name, x, weights, None)
10361037
elif weights is None and sample is not None:
1037-
g = dak_pwl(f, name, x, None, sample)
1038+
g = dak_pwl(f, name, x, None, sample)
10381039
else:
10391040
g = dak_pwl(f, name, x, None, None)
10401041

0 commit comments

Comments
 (0)