diff --git a/src/engine.c b/src/engine.c index 1475034853b51fb054b02be18eb082b2d0c70db3..88a86a74e9812f9e8eecbee286d7031b98707270 100644 --- a/src/engine.c +++ b/src/engine.c @@ -2279,9 +2279,8 @@ void engine_make_extra_hydroloop_tasks_mapper(void *map_data, int num_elements, /* Self-interaction? */ else if (t->type == task_type_self && t->subtype == task_subtype_density) { - /* Make all density tasks depend on the drift and the sorts. */ + /* Make the self-density tasks depend on the drift only. */ scheduler_addunlock(sched, t->ci->super->drift_part, t); - scheduler_addunlock(sched, t->ci->super->sorts, t); #ifdef EXTRA_HYDRO_LOOP /* Start by constructing the task for the second and third hydro loop. */