Skip to content

Commit

Permalink
Merge branch 'main' into fix-dtype
Browse files Browse the repository at this point in the history
* main:
  silence warning (#390)
  • Loading branch information
dcherian committed Sep 6, 2024
2 parents 78c2d8b + 51310a3 commit 13e4672
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 13e4672

Please sign in to comment.