diff --git a/numerical_methods/fast_fourier_transform.cpp b/numerical_methods/fast_fourier_transform.cpp index 5a91bc4e4..072b673da 100644 --- a/numerical_methods/fast_fourier_transform.cpp +++ b/numerical_methods/fast_fourier_transform.cpp @@ -51,18 +51,18 @@ std::complex* FastFourierTransform(std::complex*p,uint8_t n) std::complex om=std::complex(cos(2*pi/n),sin(2*pi/n)); ///Calculating value of omega - auto *pe= new std::complex[n/2]; /// Coefficents of even power + auto *pe= new std::complex[n/2]; /// Coefficients of even power - auto *po= new std::complex[n/2]; ///Coeeficents of odd power + auto *po= new std::complex[n/2]; ///Coefficients of odd power int k1=0,k2=0; for(int j=0;j