From e49430f96bd0a5858097f6dc631480d49baab7a0 Mon Sep 17 00:00:00 2001 From: John Glover Date: Wed, 22 Aug 2012 11:21:29 +0100 Subject: [loris] Add C++ LorisPeakDetection. --- src/loris/FourierTransform.C | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/loris/FourierTransform.C') diff --git a/src/loris/FourierTransform.C b/src/loris/FourierTransform.C index 2a29238..b67e6de 100644 --- a/src/loris/FourierTransform.C +++ b/src/loris/FourierTransform.C @@ -328,7 +328,7 @@ public: #define SORRY_NO_FFTW 1 // function prototype, definition in fftsg.c -extern "C" void cdft(int, int, double *, int *, double *); +/* extern "C" void cdft(int, int, double *, int *, double *); */ // function prototype, definition below static void slowDFT( double * in, double * out, int N ); @@ -444,7 +444,8 @@ public: { if ( mIsPO2 ) { - cdft( 2*N, -1, mTxInOut, mWorkspace, mTwiddle ); + /* cdft( 2*N, -1, mTxInOut, mWorkspace, mTwiddle ); */ + slowDFT( mTxInOut, mTwiddle, N ); } else { -- cgit v1.2.3