Skip to content
Snippets Groups Projects
Commit cc8f33ae authored by Matthieu Schaller's avatar Matthieu Schaller Committed by Matthieu Schaller
Browse files

Correctly set the implicit up-task for the end_force at all levels.

parent 4ba17285
Branches
Tags
1 merge request!667Change the task splitting criterion for gravity tasks
......@@ -501,8 +501,7 @@ void engine_make_hierarchical_tasks_common(struct engine *e, struct cell *c) {
}
/* We are below the super-cell but not below the maximal splitting depth */
else if ((c->super != NULL) &&
((c->maxdepth - c->depth) >= space_subdepth_diff_grav)) {
else if (c->super != NULL) {
/* Local tasks only... */
if (c->nodeID == e->nodeID) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment