Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 18, 2024
1 parent 7f77ddf commit 77e585b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dask_histogram/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,7 @@ def _partitioned_histogram(
# Single awkward array object.
if len(data) == 1 and data_is_dak:
from dask_awkward.lib.core import partitionwise_layer as dak_pwl

f = partial(_blocked_dak, histref=histref)

x = data[0]
Expand All @@ -1034,7 +1035,7 @@ def _partitioned_histogram(
elif weights is not None and sample is None:
g = dak_pwl(f, name, x, weights, None)
elif weights is None and sample is not None:
g = dak_pwl(f, name, x, None, sample)
g = dak_pwl(f, name, x, None, sample)
else:
g = dak_pwl(f, name, x, None, None)

Expand Down

0 comments on commit 77e585b

Please sign in to comment.