From ed03cd97358481057b7dbab5853ab435aa831856 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 5 Oct 2014 15:23:35 -0700 Subject: [PATCH] Fix compilation without fftw3 --- src/fft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fft.cpp b/src/fft.cpp index 82a9af862..f8eff5afe 100644 --- a/src/fft.cpp +++ b/src/fft.cpp @@ -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;