From 4eefaf44caa78174efb5c87a5c4a22422fa9128b Mon Sep 17 00:00:00 2001 From: Ameya Chawla <88154798+ameyachawlaggsipu@users.noreply.github.com> Date: Sat, 23 Oct 2021 11:02:43 +0530 Subject: [PATCH] fix : updated documentation --- numerical_methods/fast_fourier_transform.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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