Skip to content
Snippets Groups Projects
Commit 14806ab9 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixed the real fft testsuite as well

parent af8402e0
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment