From b6bfd84afedf601ccb91b1ed3757732e10e6478c Mon Sep 17 00:00:00 2001 From: jgp Date: Wed, 1 Aug 2018 16:56:31 +0200 Subject: [PATCH] fixing compiler warning: last line of file ends without a newline Signed-off-by: jgp --- nbody/base/Particle.hpp | 3 ++- nbody/base/main.cpp | 1 + nbody/base/types.hpp | 3 ++- nbody/ver1/Particle.hpp | 3 ++- nbody/ver1/main.cpp | 3 ++- nbody/ver1/types.hpp | 3 ++- nbody/ver2/Particle.hpp | 3 ++- nbody/ver2/main.cpp | 3 ++- nbody/ver2/types.hpp | 3 ++- nbody/ver3/Particle.hpp | 1 + nbody/ver3/main.cpp | 3 ++- nbody/ver3/types.hpp | 1 + nbody/ver3_1/Particle.hpp | 1 + nbody/ver3_1/main.cpp | 3 ++- nbody/ver3_1/types.hpp | 1 + nbody/ver3_2/Particle.hpp | 1 + nbody/ver3_2/main.cpp | 3 ++- nbody/ver3_2/types.hpp | 1 + nbody/ver4/Particle.hpp | 1 + nbody/ver4/main.cpp | 3 ++- nbody/ver4/types.hpp | 1 + nbody/ver5/Particle.hpp | 1 + nbody/ver5/main.cpp | 3 ++- nbody/ver5/types.hpp | 1 + 24 files changed, 37 insertions(+), 13 deletions(-) diff --git a/nbody/base/Particle.hpp b/nbody/base/Particle.hpp index 8dd68b1..fa2cdf3 100644 --- a/nbody/base/Particle.hpp +++ b/nbody/base/Particle.hpp @@ -40,4 +40,5 @@ struct Particle real_type mass; }; -#endif \ No newline at end of file +#endif + diff --git a/nbody/base/main.cpp b/nbody/base/main.cpp index f142e0c..07d9b07 100644 --- a/nbody/base/main.cpp +++ b/nbody/base/main.cpp @@ -44,3 +44,4 @@ int main(int argc, char** argv) return 0; } + diff --git a/nbody/base/types.hpp b/nbody/base/types.hpp index 5cae9b1..2235259 100644 --- a/nbody/base/types.hpp +++ b/nbody/base/types.hpp @@ -18,4 +18,5 @@ along with this program. If not, see . */ -typedef float real_type; \ No newline at end of file +typedef float real_type; + diff --git a/nbody/ver1/Particle.hpp b/nbody/ver1/Particle.hpp index 8dd68b1..fa2cdf3 100644 --- a/nbody/ver1/Particle.hpp +++ b/nbody/ver1/Particle.hpp @@ -40,4 +40,5 @@ struct Particle real_type mass; }; -#endif \ No newline at end of file +#endif + diff --git a/nbody/ver1/main.cpp b/nbody/ver1/main.cpp index 70d5e1b..3a5b153 100644 --- a/nbody/ver1/main.cpp +++ b/nbody/ver1/main.cpp @@ -43,4 +43,5 @@ int main(int argc, char** argv) sim.start(); return 0; -} \ No newline at end of file +} + diff --git a/nbody/ver1/types.hpp b/nbody/ver1/types.hpp index 5cae9b1..2235259 100644 --- a/nbody/ver1/types.hpp +++ b/nbody/ver1/types.hpp @@ -18,4 +18,5 @@ along with this program. If not, see . */ -typedef float real_type; \ No newline at end of file +typedef float real_type; + diff --git a/nbody/ver2/Particle.hpp b/nbody/ver2/Particle.hpp index 8dd68b1..fa2cdf3 100644 --- a/nbody/ver2/Particle.hpp +++ b/nbody/ver2/Particle.hpp @@ -40,4 +40,5 @@ struct Particle real_type mass; }; -#endif \ No newline at end of file +#endif + diff --git a/nbody/ver2/main.cpp b/nbody/ver2/main.cpp index 70d5e1b..3a5b153 100644 --- a/nbody/ver2/main.cpp +++ b/nbody/ver2/main.cpp @@ -43,4 +43,5 @@ int main(int argc, char** argv) sim.start(); return 0; -} \ No newline at end of file +} + diff --git a/nbody/ver2/types.hpp b/nbody/ver2/types.hpp index 5cae9b1..2235259 100644 --- a/nbody/ver2/types.hpp +++ b/nbody/ver2/types.hpp @@ -18,4 +18,5 @@ along with this program. If not, see . */ -typedef float real_type; \ No newline at end of file +typedef float real_type; + diff --git a/nbody/ver3/Particle.hpp b/nbody/ver3/Particle.hpp index 8e45f84..b73da81 100644 --- a/nbody/ver3/Particle.hpp +++ b/nbody/ver3/Particle.hpp @@ -58,3 +58,4 @@ struct ParticleSoA }; #endif + diff --git a/nbody/ver3/main.cpp b/nbody/ver3/main.cpp index 70d5e1b..3a5b153 100644 --- a/nbody/ver3/main.cpp +++ b/nbody/ver3/main.cpp @@ -43,4 +43,5 @@ int main(int argc, char** argv) sim.start(); return 0; -} \ No newline at end of file +} + diff --git a/nbody/ver3/types.hpp b/nbody/ver3/types.hpp index 980d8ac..2235259 100644 --- a/nbody/ver3/types.hpp +++ b/nbody/ver3/types.hpp @@ -19,3 +19,4 @@ */ typedef float real_type; + diff --git a/nbody/ver3_1/Particle.hpp b/nbody/ver3_1/Particle.hpp index 8e45f84..b73da81 100644 --- a/nbody/ver3_1/Particle.hpp +++ b/nbody/ver3_1/Particle.hpp @@ -58,3 +58,4 @@ struct ParticleSoA }; #endif + diff --git a/nbody/ver3_1/main.cpp b/nbody/ver3_1/main.cpp index 70d5e1b..3a5b153 100644 --- a/nbody/ver3_1/main.cpp +++ b/nbody/ver3_1/main.cpp @@ -43,4 +43,5 @@ int main(int argc, char** argv) sim.start(); return 0; -} \ No newline at end of file +} + diff --git a/nbody/ver3_1/types.hpp b/nbody/ver3_1/types.hpp index 980d8ac..2235259 100644 --- a/nbody/ver3_1/types.hpp +++ b/nbody/ver3_1/types.hpp @@ -19,3 +19,4 @@ */ typedef float real_type; + diff --git a/nbody/ver3_2/Particle.hpp b/nbody/ver3_2/Particle.hpp index 8e45f84..b73da81 100644 --- a/nbody/ver3_2/Particle.hpp +++ b/nbody/ver3_2/Particle.hpp @@ -58,3 +58,4 @@ struct ParticleSoA }; #endif + diff --git a/nbody/ver3_2/main.cpp b/nbody/ver3_2/main.cpp index 70d5e1b..3a5b153 100644 --- a/nbody/ver3_2/main.cpp +++ b/nbody/ver3_2/main.cpp @@ -43,4 +43,5 @@ int main(int argc, char** argv) sim.start(); return 0; -} \ No newline at end of file +} + diff --git a/nbody/ver3_2/types.hpp b/nbody/ver3_2/types.hpp index 980d8ac..2235259 100644 --- a/nbody/ver3_2/types.hpp +++ b/nbody/ver3_2/types.hpp @@ -19,3 +19,4 @@ */ typedef float real_type; + diff --git a/nbody/ver4/Particle.hpp b/nbody/ver4/Particle.hpp index 8e45f84..b73da81 100644 --- a/nbody/ver4/Particle.hpp +++ b/nbody/ver4/Particle.hpp @@ -58,3 +58,4 @@ struct ParticleSoA }; #endif + diff --git a/nbody/ver4/main.cpp b/nbody/ver4/main.cpp index 70d5e1b..3a5b153 100644 --- a/nbody/ver4/main.cpp +++ b/nbody/ver4/main.cpp @@ -43,4 +43,5 @@ int main(int argc, char** argv) sim.start(); return 0; -} \ No newline at end of file +} + diff --git a/nbody/ver4/types.hpp b/nbody/ver4/types.hpp index 980d8ac..2235259 100644 --- a/nbody/ver4/types.hpp +++ b/nbody/ver4/types.hpp @@ -19,3 +19,4 @@ */ typedef float real_type; + diff --git a/nbody/ver5/Particle.hpp b/nbody/ver5/Particle.hpp index 8e45f84..b73da81 100644 --- a/nbody/ver5/Particle.hpp +++ b/nbody/ver5/Particle.hpp @@ -58,3 +58,4 @@ struct ParticleSoA }; #endif + diff --git a/nbody/ver5/main.cpp b/nbody/ver5/main.cpp index 70d5e1b..3a5b153 100644 --- a/nbody/ver5/main.cpp +++ b/nbody/ver5/main.cpp @@ -43,4 +43,5 @@ int main(int argc, char** argv) sim.start(); return 0; -} \ No newline at end of file +} + diff --git a/nbody/ver5/types.hpp b/nbody/ver5/types.hpp index 980d8ac..2235259 100644 --- a/nbody/ver5/types.hpp +++ b/nbody/ver5/types.hpp @@ -19,3 +19,4 @@ */ typedef float real_type; +