Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
n-body_methods
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
CodeVault
hpc-kernels
n-body_methods
Commits
af99269a
Commit
af99269a
authored
8 years ago
by
Thomas Steinreiter
Browse files
Options
Downloads
Patches
Plain Diff
fixed compiler error under ubuntu 16.04
parent
85c7de09
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bhtree_mpi/src/datastructures/Body.cpp
+2
-1
2 additions, 1 deletion
bhtree_mpi/src/datastructures/Body.cpp
with
2 additions
and
1 deletion
bhtree_mpi/src/datastructures/Body.cpp
+
2
−
1
View file @
af99269a
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment