File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
ext/LinearOperatorFFTWExt Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ returns a `DCTOpImpl <: AbstractLinearOperator` which performs a DCT on a given
34
34
"""
35
35
function LinearOperatorCollection. DCTOp (T:: Type ; shape:: Tuple , dcttype= 2 )
36
36
37
- tmp= Array {Complex{real(T)} } (undef, shape)
37
+ tmp= Array {T } (undef, shape)
38
38
if dcttype == 2
39
39
plan = plan_dct! (tmp)
40
40
iplan = plan_idct! (tmp)
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ returns a `LinearOperator` which performs a DST on a given input array.
32
32
* `shape::Tuple` - size of the array to transform
33
33
"""
34
34
function LinearOperatorCollection. DSTOp (T:: Type ; shape:: Tuple )
35
- tmp= Array {Complex{real(T)} } (undef, shape)
35
+ tmp= Array {T } (undef, shape)
36
36
37
37
plan = FFTW. plan_r2r! (tmp,FFTW. RODFT10)
38
38
iplan = FFTW. plan_r2r! (tmp,FFTW. RODFT01)
You can’t perform that action at this time.
0 commit comments