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:
parent
ebd300f2fa
commit
e5f663ab0a
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
2
main.cc
2
main.cc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue