Commit 14806ab9 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixed the real fft testsuite as well

parent af8402e0
......@@ -143,6 +143,13 @@ int main(void)
cin[NFFT-i].i = - cin[i].i;
}
#ifdef FIXED_POINT
for (i=0;i< NFFT;++i) {
cin[i].r /= NFFT;
cin[i].i /= NFFT;
}
#endif
fin[0] = cin[0].r;
fin[1] = cin[NFFT/2].r;
for (i=1;i< NFFT/2;++i)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment