Skip to content

Commit

Permalink
one more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Jan 7, 2025
1 parent c924017 commit 7a794ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flox/aggregate_flox.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def _np_grouped_op(
if out is None:
q = kwargs.get("q", None)
k = kwargs.get("k", None)
if not q and not k:
if q is None and k is None:
out = np.full(array.shape[:-1] + (size,), fill_value=fill_value, dtype=dtype)
else:
nq = len(np.atleast_1d(q)) if q is not None else abs(k)
Expand Down

0 comments on commit 7a794ba

Please sign in to comment.