** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: filter.cpp,v 1.11 2000/07/05 17:24:33 kevin Exp $
+** $Id: filter.cpp,v 1.12 2000/07/05 17:59:26 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
for (int i = 0; i < m_nSignalPoints; i++)
output[i] = complexOutput[i].real();
} else if (m_idFilterMethod == FILTER_METHOD_FFT || FILTER_METHOD_FFT_ZEROPAD_2 || FILTER_METHOD_FFT_ZEROPAD_4) {
+#if HAVE_FFTW
fftw_complex in[m_nFilterPoints], out[m_nFilterPoints];
for (int i = 0; i < m_nSignalPoints; i++) {
in[i].re = input[i];
for (int i = 0; i < m_nSignalPoints; i++)
output[i] = in[i].re;
}
+#endif
}
double