From 2ee3cf3337ff434a14ab1e201c749e3f461a65bb Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Thu, 4 Nov 2021 19:33:50 +0100
Subject: [PATCH] Applied code formatting script

---
 examples/main.c | 3 ++-
 src/engine.c    | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/examples/main.c b/examples/main.c
index 1539c7dfe6..6467ae4479 100644
--- a/examples/main.c
+++ b/examples/main.c
@@ -278,7 +278,8 @@ int main(int argc, char *argv[]) {
       OPT_BOOLEAN('a', "pin", &with_aff,
                   "Pin runners using processor affinity.", NULL, 0, 0),
       OPT_BOOLEAN(0, "interleave", &with_interleave,
-                  "Interleave memory allocations across NUMA regions.", NULL, 0, 0),
+                  "Interleave memory allocations across NUMA regions.", NULL, 0,
+                  0),
       OPT_BOOLEAN('d', "dry-run", &dry_run,
                   "Dry run. Read the parameter file, allocates memory but does "
                   "not read the particles from ICs. Exits before the start of "
diff --git a/src/engine.c b/src/engine.c
index 9c6625ccf5..5e88d146ac 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -2715,7 +2715,7 @@ void engine_unpin(void) {
 #endif
 }
 
-/** 
+/**
  * @brief Define a NUMA memory placement policy of interleave across the
  * available NUMA nodes rather than having memory in the local node, which
  * means we have a lot of memory associated with the main thread NUMA node, so
@@ -2761,7 +2761,7 @@ void engine_numa_policies(int rank, int verbose) {
   }
 
   /* And set. */
-  set_mempolicy(MPOL_INTERLEAVE, nodemask->maskp, nodemask->size+1);
+  set_mempolicy(MPOL_INTERLEAVE, nodemask->maskp, nodemask->size + 1);
   numa_free_nodemask(nodemask);
 
 #endif
-- 
GitLab