Skip to content

Commit c6f3f55

Browse files
committed
rename
1 parent fe6fcc6 commit c6f3f55

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/algos.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,17 @@ function fft_composite!(out::AbstractVector{T}, in::AbstractVector{U}, start_out
7171
tmp = g.workspace[idx]
7272

7373
if Rt === BLUESTEIN
74-
R_scratch = prealloc_blue(N2, d, T)
74+
R_bluestein_scratchspace = prealloc_blue(N2, d, T)
7575
end
7676
for j1 in 0:N1-1
7777
wk2 = wj1
7878
R_start_in = start_in + j1 * s_in
7979
R_start_out = 1 + N2 * j1
8080

81-
if @isdefined R_scratch
81+
if @isdefined R_bluestein_scratchspace
8282
R_s_in = right.s_in
8383
R_s_out = right.s_out
84-
fft_bluestein!(tmp, in, d, N2, R_start_out, R_s_out, R_start_in, R_s_in, R_scratch)
84+
fft_bluestein!(tmp, in, d, N2, R_start_out, R_s_out, R_start_in, R_s_in, R_bluestein_scratchspace)
8585
else
8686
fft!(tmp, in, R_start_out, R_start_in, d, Rt, g, right_idx)
8787
end
@@ -97,15 +97,15 @@ function fft_composite!(out::AbstractVector{T}, in::AbstractVector{U}, start_out
9797
end
9898

9999
if Lt === BLUESTEIN
100-
L_scratch = prealloc_blue(N1, d, T)
100+
L_bluestein_scratchspace = prealloc_blue(N1, d, T)
101101
end
102102
for k2 in 0:N2-1
103103
L_start_out = start_out + k2 * s_out
104104
L_start_in = 1 + k2
105-
if @isdefined L_scratch
105+
if @isdefined L_bluestein_scratchspace
106106
L_s_in = left.s_in
107107
L_s_out = left.s_out
108-
fft_bluestein!(out, tmp, d, N1, L_start_out, L_s_out, L_start_in, L_s_in, L_scratch)
108+
fft_bluestein!(out, tmp, d, N1, L_start_out, L_s_out, L_start_in, L_s_in, L_bluestein_scratchspace)
109109
else
110110
fft!(out, tmp, L_start_out, L_start_in, d, Lt, g, left_idx)
111111
end

0 commit comments

Comments
 (0)