Update fast_fourier_transform.cpp

This commit is contained in:
Ameya Chawla
2021-10-18 02:02:52 +05:30
committed by GitHub
parent c813d4fbb6
commit 2b84683f02

View File

@@ -59,7 +59,7 @@ std::complex<double>* FastFourierTransform(std::complex<double>*p,uint64_t n)
y[i+n/2]=ye[i]-pow(om,i)*yo[i];///Updating the last n/2 elements
}
return y;///Return the list
return y;///Returns the list
}