Skip to content

Commit 5cec3fb

Browse files
MAINT: Fix a comment to refer to copy_input instead of copy_data.
1 parent 7906d11 commit 5cec3fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/fft/_pocketfft_umath.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ rfft_impl(char **args, npy_intp const *dimensions, npy_intp const *steps,
183183
* Pocketfft uses FFTpack order, R0,R1,I1,...Rn-1,In-1,Rn[,In] (last
184184
* for npts odd only). To make unpacking easy, we place the real data
185185
* offset by one in the buffer, so that we just have to move R0 and
186-
* create I0=0. Note that copy_data will zero the In component for
186+
* create I0=0. Note that copy_input will zero the In component for
187187
* even number of points.
188188
*/
189189
copy_input(ip, step_in, nin, &((T *)op_or_buff)[1], nout*2 - 1);

0 commit comments

Comments
 (0)