Skip to content

Commit f800d91

Browse files
committed
fix bug reported by Peter Hawkins
1 parent 1d6ff70 commit f800d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pocketfft_hdronly.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -2437,7 +2437,7 @@ template<typename T0> class fftblue
24372437
tmp[m].Set(c[m], zero);
24382438
fft<true>(tmp.data(),fct);
24392439
c[0] = tmp[0].r;
2440-
std::copy (&tmp[1].r, &tmp[1].r+n-1, &c[1], tmp.data()+1);
2440+
std::copy (&tmp[1].r, &tmp[1].r+n-1, &c[1]);
24412441
}
24422442
else
24432443
{

0 commit comments

Comments
 (0)