Skip to content

Commit

Permalink
Address DH feedback: use more appropriate iterator in Data.flip
Browse files Browse the repository at this point in the history
  • Loading branch information
sadielbartholomew committed Feb 28, 2022
1 parent 53b4a44 commit 25076fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -10958,7 +10958,7 @@ def flip(self, axes=None, inplace=False, i=False):

index = [
slice(None, None, -1) if i in iaxes else slice(None)
for i in range(len(d._axes))
for i in range(d.ndim)
]

dx = d._get_dask()
Expand Down

0 comments on commit 25076fb

Please sign in to comment.