Skip to content
Snippets Groups Projects
Commit af99269a authored by Thomas Steinreiter's avatar Thomas Steinreiter
Browse files

fixed compiler error under ubuntu 16.04

parent 85c7de09
Branches
No related merge requests found
......@@ -9,6 +9,7 @@
#include <cstring>
#include <cstdio>
#include <algorithm>
#include <cmath>
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) {
......
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