From af99269a985c5d6f748c406427afe5a6e166fb33 Mon Sep 17 00:00:00 2001 From: Thomas Steinreiter Date: Wed, 16 Nov 2016 15:53:41 +0100 Subject: [PATCH] fixed compiler error under ubuntu 16.04 --- bhtree_mpi/src/datastructures/Body.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bhtree_mpi/src/datastructures/Body.cpp b/bhtree_mpi/src/datastructures/Body.cpp index 23d4853..066d2e3 100644 --- a/bhtree_mpi/src/datastructures/Body.cpp +++ b/bhtree_mpi/src/datastructures/Body.cpp @@ -9,6 +9,7 @@ #include #include #include +#include namespace nbody { using namespace std; @@ -72,7 +73,7 @@ namespace nbody { } bool validDouble(double val) { - return !::isnan(val) && isfinite(val); + return !isnan(val) && isfinite(val); } bool validBody(Body body) { -- GitLab