Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
Takaya Uchida committed Jul 2, 2021
1 parent 328e520 commit 9857f81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xrft/xrft.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,8 @@ def fft(
da.get_axis_num(d) for d in dim if da[d][-1] < da[d][0]
] # handling decreasing coordinates
f = fft_fn(
fftm.ifftshift(np.flip(da, axis=reversed_axis), axes=axis_num), axes=axis_num
fftm.ifftshift(np.flip(da, axis=reversed_axis), axes=axis_num),
axes=axis_num,
)
else:
f = fft_fn(da.data, axes=axis_num)
Expand Down

0 comments on commit 9857f81

Please sign in to comment.