Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
5c4fbfb2
Commit
5c4fbfb2
authored
Nov 06, 2018
by
Matthieu Schaller
Browse files
Applied code formatting tool.
parent
7ee5f906
Changes
3
Show whitespace changes
Inline
Side-by-side
src/engine_maketasks.c
View file @
5c4fbfb2
...
...
@@ -1169,7 +1169,6 @@ void engine_link_gravity_tasks(struct engine *e) {
/* drift ---+-> gravity --> grav_down */
/* init --/ */
if
(
ci_parent
!=
cj_parent
)
{
/* Avoid double unlock */
scheduler_addunlock
(
sched
,
cj_parent
->
grav
.
drift_out
,
t
);
scheduler_addunlock
(
sched
,
cj_parent
->
grav
.
init_out
,
t
);
...
...
@@ -1219,7 +1218,6 @@ void engine_link_gravity_tasks(struct engine *e) {
/* drift ---+-> gravity --> grav_down */
/* init --/ */
if
(
ci_parent
!=
cj_parent
)
{
/* Avoid double unlock */
scheduler_addunlock
(
sched
,
cj_parent
->
grav
.
drift_out
,
t
);
scheduler_addunlock
(
sched
,
cj_parent
->
grav
.
init_out
,
t
);
...
...
src/space.c
View file @
5c4fbfb2
src/task.c
View file @
5c4fbfb2
...
...
@@ -411,7 +411,9 @@ int task_lock(struct task *t) {
char
buff
[
MPI_MAX_ERROR_STRING
];
int
len
;
MPI_Error_string
(
err
,
buff
,
&
len
);
error
(
"Failed to test request on send/recv task (type=%s/%s tag=%lld, %s)."
,
error
(
"Failed to test request on send/recv task (type=%s/%s tag=%lld, "
"%s)."
,
taskID_names
[
t
->
type
],
subtaskID_names
[
t
->
subtype
],
t
->
flags
,
buff
);
}
return
res
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment