From f9c1d35053619925d5c3ba199cf0d873d9e84aad Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Wed, 15 Feb 2017 22:11:39 +0000
Subject: [PATCH] Code formatting

---
 src/parallel_io.c | 7 ++++---
 src/serial_io.c   | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/parallel_io.c b/src/parallel_io.c
index 5cd6a4921a..e429ff6419 100644
--- a/src/parallel_io.c
+++ b/src/parallel_io.c
@@ -431,11 +431,12 @@ void read_ic_parallel(char* fileName, const struct UnitSystem* internal_units,
   *flag_entropy = flag_entropy_temp[0];
   readAttribute(h_grp, "BoxSize", DOUBLE, boxSize);
   readAttribute(h_grp, "NumPart_Total", LONGLONG, numParticles);
-  readAttribute(h_grp, "NumPart_Total_HighWord", LONGLONG, numParticles_highWord);
+  readAttribute(h_grp, "NumPart_Total_HighWord", LONGLONG,
+                numParticles_highWord);
 
   for (int ptype = 0; ptype < NUM_PARTICLE_TYPES; ++ptype)
-    N_total[ptype] = (numParticles[ptype]) +
-                     (numParticles_highWord[ptype] << 32);
+    N_total[ptype] =
+        (numParticles[ptype]) + (numParticles_highWord[ptype] << 32);
 
   dim[0] = boxSize[0];
   dim[1] = (boxSize[1] < 0) ? boxSize[0] : boxSize[1];
diff --git a/src/serial_io.c b/src/serial_io.c
index a9be44c21d..eaf5541992 100644
--- a/src/serial_io.c
+++ b/src/serial_io.c
@@ -483,11 +483,12 @@ void read_ic_serial(char* fileName, const struct UnitSystem* internal_units,
     *flag_entropy = flag_entropy_temp[0];
     readAttribute(h_grp, "BoxSize", DOUBLE, boxSize);
     readAttribute(h_grp, "NumPart_Total", LONGLONG, numParticles);
-    readAttribute(h_grp, "NumPart_Total_HighWord", LONGLONG, numParticles_highWord);
+    readAttribute(h_grp, "NumPart_Total_HighWord", LONGLONG,
+                  numParticles_highWord);
 
     for (int ptype = 0; ptype < NUM_PARTICLE_TYPES; ++ptype)
-      N_total[ptype] = (numParticles[ptype]) +
-                       (numParticles_highWord[ptype] << 32);
+      N_total[ptype] =
+          (numParticles[ptype]) + (numParticles_highWord[ptype] << 32);
 
     dim[0] = boxSize[0];
     dim[1] = (boxSize[1] < 0) ? boxSize[0] : boxSize[1];
-- 
GitLab