Skip to content
Snippets Groups Projects
Commit e66c71e1 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

fix linker error bug with fftw3 and -DFFT_SINGLE

parent 8e5d3802
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,10 @@ int main(int argc, char **argv) ...@@ -70,6 +70,10 @@ int main(int argc, char **argv)
#ifdef FFT_FFTW3 #ifdef FFT_FFTW3
// tell fftw3 to delete its global memory pool // tell fftw3 to delete its global memory pool
// and thus avoid bogus valgrind memory leak reports // and thus avoid bogus valgrind memory leak reports
#ifdef FFT_SINGLE
fftwf_cleanup();
#else
fftw_cleanup(); fftw_cleanup();
#endif #endif
#endif
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment