Commit e9b19d66 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Don't unskip the sort tasks when the main task is skipped

parent 8bdf06be
......@@ -2034,9 +2034,11 @@ void engine_marktasks_mapper(void *map_data, int num_elements,
cj->dx_max > space_maxreldx * cj->h_max))
*rebuild_space = 1;
/* Set this task's skip. */
/* Set this task's skip, otherwise nothing to do. */
if (ci->ti_end_min <= ti_end || cj->ti_end_min <= ti_end)
scheduler_activate(s, t);
else
continue;
/* If this is not a density task, we don't have to do any of the below. */
if (t->subtype != task_subtype_density) continue;
......
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