diff options
| author | mzuenni <michi.zuendorf@gmail.com> | 2026-10-17 17:48:22 +0200 |
|---|---|---|
| committer | mzuenni <michi.zuendorf@gmail.com> | 2026-10-17 17:48:22 +0200 |
| commit | d39aa7ca41379e81b0b873d26186f4ab128ffe04 (patch) | |
| tree | 51e8655c0904667c57855d2162ad9ea012d23ecb /content/math/transforms/fft.cpp | |
| parent | cf4b381136961c321eb0e2140a954a74341d5f2c (diff) | |
++i -> ++i
Diffstat (limited to 'content/math/transforms/fft.cpp')
| -rw-r--r-- | content/math/transforms/fft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/math/transforms/fft.cpp b/content/math/transforms/fft.cpp index 2bd95b2..fbbcc07 100644 --- a/content/math/transforms/fft.cpp +++ b/content/math/transforms/fft.cpp @@ -2,7 +2,7 @@ using cplx = complex<double>; void fft(vector<cplx>& a, bool inv = false) { int n = sz(a); - for (int i = 0, j = 1; j < n - 1; ++j) { + for (int i = 0, j = 1; j < n - 1; j++) { for (int k = n >> 1; k > (i ^= k); k >>= 1); if (j < i) swap(a[i], a[j]); } |
