mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-11 06:26:05 +08:00
Update fast_fourier_transform.cpp
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user