Commit bc8306e1 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Do not active the sub-hydro tasks whhen finding a sub-pair star-density.

parent 2d35ec05
......@@ -936,8 +936,8 @@ void engine_make_hierarchical_tasks_hydro(struct engine *e, struct cell *c) {
engine_add_ghosts(e, c, c->hydro.ghost_in, c->hydro.ghost_out);
if (with_feedback) {
c->stars.ghost = scheduler_addtask(s, task_type_stars_ghost,
task_subtype_none, 0, 0, c, NULL);
c->stars.ghost = scheduler_addtask(s, task_type_stars_ghost,
task_subtype_none, 0, 0, c, NULL);
}
#ifdef EXTRA_HYDRO_LOOP
......
......@@ -376,7 +376,6 @@ void engine_marktasks_mapper(void *map_data, int num_elements,
else if (t_type == task_type_sub_pair &&
t_subtype == task_subtype_stars_density) {
cell_activate_subcell_stars_tasks(t->ci, t->cj, s);
cell_activate_subcell_hydro_tasks(t->ci, t->cj, s);
}
}
......
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