summaryrefslogtreecommitdiff
path: root/src/loris/FourierTransform.C
diff options
context:
space:
mode:
authorJohn Glover <j@johnglover.net>2012-08-22 11:21:29 +0100
committerJohn Glover <j@johnglover.net>2012-08-22 11:21:29 +0100
commite49430f96bd0a5858097f6dc631480d49baab7a0 (patch)
treee8826e8746b70965f2f026af7e6ad79888cbedc1 /src/loris/FourierTransform.C
parent39e0005e226ed6f04562e9d5d7548782fef81c20 (diff)
downloadsimpl-e49430f96bd0a5858097f6dc631480d49baab7a0.tar.gz
simpl-e49430f96bd0a5858097f6dc631480d49baab7a0.tar.bz2
simpl-e49430f96bd0a5858097f6dc631480d49baab7a0.zip
[loris] Add C++ LorisPeakDetection.
Diffstat (limited to 'src/loris/FourierTransform.C')
-rw-r--r--src/loris/FourierTransform.C5
1 files changed, 3 insertions, 2 deletions
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
{