From 8818c220b8159f099c09fcb5200e61a24371fc45 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Thu, 11 Apr 2019 15:44:35 +0200
Subject: [PATCH] Also active the star drift when running with feedback.

---
 src/cell.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/cell.c b/src/cell.c
index d782283505..b64d802ab5 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -3553,11 +3553,10 @@ int cell_unskip_gravity_tasks(struct cell *c, struct scheduler *s) {
 int cell_unskip_stars_tasks(struct cell *c, struct scheduler *s) {
 
   struct engine *e = s->space->e;
-  const int with_feedback = (e->policy & engine_policy_feedback);
   const int nodeID = e->nodeID;
   int rebuild = 0;
 
-  if (!with_feedback && c->stars.drift != NULL && cell_is_active_stars(c, e)) {
+  if (c->stars.drift != NULL && cell_is_active_stars(c, e)) {
     cell_activate_drift_spart(c, s);
   }
 
-- 
GitLab