From ddb05cac888df9ac26fcb04b7ef09818af91c140 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Wed, 27 Mar 2019 16:58:07 +0100
Subject: [PATCH] Applied code formatting script.

---
 src/cell.c  | 3 ++-
 src/space.c | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/cell.c b/src/cell.c
index b76c00346c..f8722eccc5 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -4495,7 +4495,8 @@ struct spart *cell_add_spart(struct engine *e, struct cell *const c) {
    * current cell*/
   cell_recursively_shift_sparts(top, progeny, /* main_branch=*/1);
 
-  /* Make sure the gravity will be recomputed for this particle in the next step */
+  /* Make sure the gravity will be recomputed for this particle in the next step
+   */
   struct cell *top2 = c;
   while (top2->parent != NULL) {
     top2->grav.ti_end_min = e->ti_current;
diff --git a/src/space.c b/src/space.c
index 376087461a..4b568cf3e8 100644
--- a/src/space.c
+++ b/src/space.c
@@ -3124,7 +3124,7 @@ void space_recycle_list(struct space *s, struct cell *cell_list_begin,
     /* Clear the cell. */
     if (lock_destroy(&c->lock) != 0 || lock_destroy(&c->grav.plock) != 0 ||
         lock_destroy(&c->mlock) != 0 || lock_destroy(&c->stars.lock) != 0 ||
-	lock_destroy(&c->stars.star_formation_lock))
+        lock_destroy(&c->stars.star_formation_lock))
       error("Failed to destroy spinlocks.");
 
     /* Count this cell. */
@@ -3225,7 +3225,7 @@ void space_getcells(struct space *s, int nr_cells, struct cell **cells) {
         lock_init(&cells[j]->grav.plock) != 0 ||
         lock_init(&cells[j]->grav.mlock) != 0 ||
         lock_init(&cells[j]->stars.lock) != 0 ||
-	lock_init(&cells[j]->stars.star_formation_lock) != 0)
+        lock_init(&cells[j]->stars.star_formation_lock) != 0)
       error("Failed to initialize cell spinlocks.");
   }
 }
-- 
GitLab