From 34afd6b10a5a83b2ee2071978aa65494c48c6fb6 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Sat, 9 Mar 2019 12:59:16 +0100
Subject: [PATCH] Removed unwanted changes in 'engine_maketask'.

---
 src/engine_maketasks.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/engine_maketasks.c b/src/engine_maketasks.c
index 088906da51..6340cb17eb 100644
--- a/src/engine_maketasks.c
+++ b/src/engine_maketasks.c
@@ -577,9 +577,6 @@ void engine_addtasks_recv_timestep(struct engine *e, struct cell *c,
     }
   }
 
-  for (struct link *l = c->stars.feedback; l != NULL; l = l->next)
-    scheduler_addunlock(s, l->t, t_ti);
-
   for (struct link *l = c->stars.feedback; l != NULL; l = l->next)
     scheduler_addunlock(s, l->t, t_ti);
 
@@ -1429,8 +1426,10 @@ void engine_link_gravity_tasks(struct engine *e) {
  * @param density The density task to link.
  * @param gradient The gradient task to link.
  * @param force The force task to link.
+ * @param limiter The limiter task to link.
  * @param c The cell.
  * @param with_cooling Do we have a cooling task ?
+ * @param with_limiter Do we have a time-step limiter ?
  */
 static inline void engine_make_hydro_loops_dependencies(
     struct scheduler *sched, struct task *density, struct task *gradient,
-- 
GitLab