From ff7f35eef313b06020e61e22264ab3710ca176c0 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Fri, 6 Oct 2017 12:50:41 +0100
Subject: [PATCH] Code formatting

---
 src/parallel_io.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/parallel_io.c b/src/parallel_io.c
index 46c950b082..0d5bb9c80c 100644
--- a/src/parallel_io.c
+++ b/src/parallel_io.c
@@ -278,19 +278,21 @@ void writeArray_chunk(struct engine* e, hid_t h_data, hid_t h_plist_id,
 
   /* Select the hyper-salb corresponding to this rank */
   hid_t h_filespace = H5Dget_space(h_data);
-  if(N > 0) {
-    H5Sselect_hyperslab(h_filespace, H5S_SELECT_SET, offsets, NULL, shape, NULL);
+  if (N > 0) {
+    H5Sselect_hyperslab(h_filespace, H5S_SELECT_SET, offsets, NULL, shape,
+                        NULL);
   } else {
     H5Sselect_none(h_filespace);
   }
 
-  /* message("Writing %lld '%s', %zd elements = %zd bytes (int=%d) at offset %zd", */
+  /* message("Writing %lld '%s', %zd elements = %zd bytes (int=%d) at offset
+   * %zd", */
   /* 	  N, props.name, N * props.dimension, N * props.dimension * typeSize, */
   /* 	  (int)(N * props.dimension * typeSize), offset); */
 
   /* Write temporary buffer to HDF5 dataspace */
   h_err = H5Dwrite(h_data, io_hdf5_type(props.type), h_memspace, h_filespace,
-		   h_plist_id, temp);
+                   h_plist_id, temp);
   if (h_err < 0) {
     error("Error while writing data array '%s'.", props.name);
   }
-- 
GitLab