From 163a00aa360eb9e36e7fcc8b21d082a133435b69 Mon Sep 17 00:00:00 2001
From: loikki <loic.hausammann@protonmail.ch>
Date: Wed, 31 Oct 2018 10:41:05 +0100
Subject: [PATCH] Fix logger activation

---
 src/cell.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/cell.c b/src/cell.c
index 3e70b7687f..58893f1584 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -2751,6 +2751,7 @@ int cell_unskip_hydro_tasks(struct cell *c, struct scheduler *s) {
     if (c->hydro.star_formation != NULL)
       scheduler_activate(s, c->hydro.star_formation);
     if (c->sourceterms != NULL) scheduler_activate(s, c->sourceterms);
+    if (c->logger != NULL) scheduler_activate(s, c->logger);
   }
 
   return rebuild;
@@ -3060,6 +3061,7 @@ int cell_unskip_stars_tasks(struct cell *c, struct scheduler *s) {
     if (c->stars.ghost_in != NULL) scheduler_activate(s, c->stars.ghost_in);
     if (c->stars.ghost_out != NULL) scheduler_activate(s, c->stars.ghost_out);
     if (c->stars.ghost != NULL) scheduler_activate(s, c->stars.ghost);
+    if (c->logger != NULL) scheduler_activate(s, c->logger);
   }
 
   return rebuild;
-- 
GitLab