Skip to content
Snippets Groups Projects
Commit 65e95435 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fixed failling FFT test when optimization is switched off.

parent e7c76035
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,6 @@ int main() { return 0; } ...@@ -28,7 +28,6 @@ int main() { return 0; }
#else #else
/* Some standard headers. */ /* Some standard headers. */
#include <fenv.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
...@@ -41,9 +40,6 @@ int main() { ...@@ -41,9 +40,6 @@ int main() {
unsigned long long cpufreq = 0; unsigned long long cpufreq = 0;
clocks_set_cpufreq(cpufreq); clocks_set_cpufreq(cpufreq);
/* Choke on FP-exceptions */
feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW);
/* Make one particle */ /* Make one particle */
int nr_gparts = 1; int nr_gparts = 1;
struct gpart *gparts = NULL; struct gpart *gparts = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment