Commit 163a00aa authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Fix logger activation

parent 7e989ce6
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment