This commit is contained in:
xenakios 2018-04-03 02:07:47 +03:00
parent 3401384eff
commit 3729c4ec28

View File

@ -99,7 +99,6 @@ void FFT::freq2smp()
{
unsigned int rand = m_randdist(m_randgen);
REALTYPE phase=rand*inv_2p15_2pi;
data[i]=freq[i]*cos(phase);
data[nsamples-i]=freq[i]*sin(phase);