X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-core%2Fsrc%2Fdsp%2Ffft.rs;h=936a8aa02a62b1eb4db4749579cce5d066e4c6c1;hp=a626ad95a638b99b2b3a055a72e4d7ab31c8a7cb;hb=d24468d9dbd54f5cbe414649ff061699337fa7fe;hpb=fa90ccfb8676a917a02fbb56381f86aa1962d313 diff --git a/nihav-core/src/dsp/fft.rs b/nihav-core/src/dsp/fft.rs index a626ad9..936a8aa 100644 --- a/nihav-core/src/dsp/fft.rs +++ b/nihav-core/src/dsp/fft.rs @@ -776,7 +776,7 @@ impl RDFT { let t2 = t1 * self.table[n]; buf[n + 1] = crossadd(t0, t2); - buf[self.size - n - 1] = FFTComplex { re: t0.re - t2.re, im: -(t0.im + t2.im) }; + buf[self.size - n - 1] = FFTComplex { re: t0.re - t2.re, im: -(t0.im + t2.im) }; } let a = buf[0].re; let b = buf[0].im;