Commit 0a0a27c4 authored by Matthieu Schaller's avatar Matthieu Schaller

Do not compile FFTW code if FFTW is not present.

parent d99acea7
......@@ -283,6 +283,7 @@ void runner_do_grav_fft(struct runner* r, int timer) {
#endif
}
#ifdef HAVE_FFTW
void print_array(double* array, int N) {
for (int k = N - 1; k >= 0; --k) {
......@@ -309,3 +310,4 @@ void print_carray(fftw_complex* array, int N) {
}
}
}
#endif /* HAVE_FFTW */
Markdown is supported
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