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

Code formatting

parent 4e460da8
Branches
Tags
1 merge request!292Drift on demand
File changed. Contains only whitespace changes. Show whitespace changes.
...@@ -676,8 +676,8 @@ void engine_addtasks_send(struct engine *e, struct cell *ci, struct cell *cj, ...@@ -676,8 +676,8 @@ void engine_addtasks_send(struct engine *e, struct cell *ci, struct cell *cj,
if (t_xv == NULL) { if (t_xv == NULL) {
if (ci->super->drift == NULL) if (ci->super->drift == NULL)
ci->super->drift = scheduler_addtask(s, task_type_drift, task_subtype_none, 0, 0, ci->super->drift = scheduler_addtask(
ci->super, NULL, 0); s, task_type_drift, task_subtype_none, 0, 0, ci->super, NULL, 0);
t_xv = scheduler_addtask(s, task_type_send, task_subtype_none, t_xv = scheduler_addtask(s, task_type_send, task_subtype_none,
4 * ci->tag, 0, ci, cj, 0); 4 * ci->tag, 0, ci, cj, 0);
... ...
......
...@@ -1054,7 +1054,8 @@ void *runner_main(void *data) { ...@@ -1054,7 +1054,8 @@ void *runner_main(void *data) {
#ifdef SWIFT_DEBUG_CHECKS #ifdef SWIFT_DEBUG_CHECKS
#ifndef WITH_MPI #ifndef WITH_MPI
if (cj == NULL) { /* self */ if (cj == NULL) { /* self */
if (!cell_is_active(ci, e) && t->type != task_type_sort && t->type != task_type_send && t->type != task_type_recv) if (!cell_is_active(ci, e) && t->type != task_type_sort &&
t->type != task_type_send && t->type != task_type_recv)
error( error(
"Task (type='%s/%s') should have been skipped ti_current=%d " "Task (type='%s/%s') should have been skipped ti_current=%d "
"c->ti_end_min=%d", "c->ti_end_min=%d",
...@@ -1077,8 +1078,8 @@ void *runner_main(void *data) { ...@@ -1077,8 +1078,8 @@ void *runner_main(void *data) {
error( error(
"Task (type='%s/%s') should have been skipped ti_current=%d " "Task (type='%s/%s') should have been skipped ti_current=%d "
"ci->ti_end_min=%d cj->ti_end_min=%d", "ci->ti_end_min=%d cj->ti_end_min=%d",
taskID_names[t->type], subtaskID_names[t->subtype], e->ti_current, taskID_names[t->type], subtaskID_names[t->subtype],
ci->ti_end_min, cj->ti_end_min); e->ti_current, ci->ti_end_min, cj->ti_end_min);
} }
#endif #endif
#endif #endif
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment