Skip to content

Commit

Permalink
use dims not sortdims
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Jun 29, 2022
1 parent 2fc87f7 commit d29b530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dimensions/primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ function slicedims end
d, rd = _slicedims(f, odims, oI)
udims, urefdims = sliceunalligneddims(f, uI, udims...)
# Recombine dims and refdims
sortdims((d..., udims...), dims), (rd..., urefdims...)
Dimensions.dims((d..., udims...), dims), (rd..., urefdims...)
else
_slicedims(f, dims, I)
end
Expand Down

0 comments on commit d29b530

Please sign in to comment.