1
0
Fork 0

Fix compilation without fftw3

This commit is contained in:
Thomas Goyne 2014-10-05 15:23:35 -07:00
parent bf1f2ca5c7
commit ed03cd9735
1 changed files with 1 additions and 1 deletions

View File

@ -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;