Skip to content
Snippets Groups Projects
Commit a009dabe authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

do not blindly activate drifts, may be a sub-task.

parent 0cb07b84
No related branches found
No related tags found
1 merge request!327Rebuild criteria
......@@ -1320,13 +1320,15 @@ int cell_unskip_tasks(struct cell *c, struct scheduler *s) {
if (l == NULL) error("Missing link to send_ti task.");
scheduler_activate(s, l->t);
}
} else {
} else if (t->type == task_type_pair) {
scheduler_activate(s, ci->drift);
scheduler_activate(s, cj->drift);
}
#else
scheduler_activate(s, ci->drift);
scheduler_activate(s, cj->drift);
if (t->type == task_type_pair) {
scheduler_activate(s, ci->drift);
scheduler_activate(s, cj->drift);
}
#endif
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment