1
0
Fork 0
mirror of https://github.com/cosmo-sims/MUSIC.git synced 2024-09-19 17:03:46 +02:00

Added a missing pragma that leads to errors when compiling for single-threaded FFTW3

This commit is contained in:
Oliver Hahn 2011-07-21 10:43:00 -07:00
parent ebd300f2fa
commit e5f663ab0a
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
### compile time configuration options ### compile time configuration options
FFTW3 = yes FFTW3 = yes
MULTITHREADFFTW = yes MULTITHREADFFTW = yes
SINGLEPRECISION = yes SINGLEPRECISION = no
HAVEHDF5 = yes HAVEHDF5 = yes
############################################################################## ##############################################################################

View file

@ -1273,7 +1273,7 @@ int main (int argc, const char * argv[])
delete the_transfer_function_plugin; delete the_transfer_function_plugin;
delete the_poisson_solver; delete the_poisson_solver;
#ifdef FFTW3 #if defined(FFTW3) and not defined(SINGLETHREAD_FFTW)
#ifdef SINGLE_PRECISION #ifdef SINGLE_PRECISION
fftwf_cleanup_threads(); fftwf_cleanup_threads();
#else #else