Skip to content

Commit

Permalink
silence warning (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian authored Sep 4, 2024
1 parent edc1344 commit 51310a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flox/xarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def wrapper(array, *by, func, skipna, core_dims, **kwargs):
obj, xr.Dataset
) # do not re-order dataarrays inside datasets
actual[var] = _restore_dim_order(
actual[var], template, by_da[0], no_groupby_reorder=no_groupby_reorder
actual[var].variable, template, by_da[0], no_groupby_reorder=no_groupby_reorder
)

if missing_dim:
Expand Down

0 comments on commit 51310a3

Please sign in to comment.