Commit f823a212 authored by Emmanuel Bertin's avatar Emmanuel Bertin
Browse files

Fixed incorrect FFTW type in multithread check.

parent 6dc5f403
...@@ -54,7 +54,7 @@ void fft_init(int nthreads) ...@@ -54,7 +54,7 @@ void fft_init(int nthreads)
{ {
#ifdef USE_THREADS #ifdef USE_THREADS
QPTHREAD_MUTEX_INIT(&fftmutex, NULL); QPTHREAD_MUTEX_INIT(&fftmutex, NULL);
#ifdef HAVE_FFTWF_MP #ifdef HAVE_FFTW_MP
if (nthreads > 1) if (nthreads > 1)
{ {
if (!fftw_init_threads()) if (!fftw_init_threads())
...@@ -86,7 +86,7 @@ void fft_end(void) ...@@ -86,7 +86,7 @@ void fft_end(void)
{ {
firsttimeflag = 0; firsttimeflag = 0;
#ifdef USE_THREADS #ifdef USE_THREADS
#ifdef HAVE_FFTWF_MP #ifdef HAVE_FFTW_MP
fftw_cleanup_threads(); fftw_cleanup_threads();
#endif #endif
QPTHREAD_MUTEX_DESTROY(&fftmutex); QPTHREAD_MUTEX_DESTROY(&fftmutex);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment