schneller Vergleich

This commit is contained in:
Jörg Thalheim 2015-03-05 15:46:45 +01:00
parent 34e3da87a2
commit a0939290bb

2
fft.c
View File

@ -94,7 +94,7 @@ int fix_fft(fixed fr[], fixed fi[], int m, int inverse)
m = fi[i]; m = fi[i];
if(m < 0) m = -m; if(m < 0) m = -m;
if(j > 16383 || m > 16383) if(FFT_shift_check(j,m))
{ {
shift = 1; shift = 1;
break; break;