Fix compilation without fftw3
This commit is contained in:
parent
bf1f2ca5c7
commit
ed03cd9735
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
|||
|
||||
void FFT::DoTransform (size_t n_samples,float *input,float *output_r,float *output_i,bool inverse) {
|
||||
if (!IsPowerOfTwo(n_samples))
|
||||
agi::InternalError(throw "FFT requires power of two input.");
|
||||
throw agi::InternalError("FFT requires power of two input.");
|
||||
|
||||
// Inverse transform
|
||||
float angle_num = 2.0f * 3.1415926535897932384626433832795f;
|
||||
|
|
Loading…
Reference in a new issue