Skip to content

Commit feed7af

Browse files
authored
typo
Signed-off-by: Puyang Wang <[email protected]>
1 parent 6f6f94e commit feed7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/networks/blocks/fft_utils_t.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def ifftn_centered_t(ksp: Tensor, spatial_dims: int, is_complex: bool = True) ->
147147
else:
148148
x = ifftshift(ksp, dims)
149149

150-
x = torch.view_as_real(torch.fft.fftn(x, dim=dims, norm="ortho"))
150+
x = torch.view_as_real(torch.fft.ifftn(x, dim=dims, norm="ortho"))
151151

152152
out: Tensor = fftshift(x, [d - 1 for d in dims])
153153

0 commit comments

Comments
 (0)