We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67ffe56 commit 5069763Copy full SHA for 5069763
src/fftpack_ifftshift.f90
@@ -5,7 +5,7 @@
5
!> Shifts zero-frequency component to beginning of spectrum for `complex` type.
6
pure module function ifftshift_crk(x) result(result)
7
complex(kind=rk), intent(in) :: x(:)
8
- complex(kind=rk), allocatable :: result(:)
+ complex(kind=rk), dimension(size(x)) :: result
9
10
result = cshift(x, shift=-ceiling(0.5_rk*size(x)))
11
@@ -14,7 +14,7 @@ end function ifftshift_crk
14
!> Shifts zero-frequency component to beginning of spectrum for `real` type.
15
pure module function ifftshift_rrk(x) result(result)
16
real(kind=rk), intent(in) :: x(:)
17
- real(kind=rk), allocatable :: result(:)
+ real(kind=rk), dimension(size(x)) :: result
18
19
20
0 commit comments