Skip to content
GitLab
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
668f58a9
Commit
668f58a9
authored
Jun 08, 2017
by
Matthieu Schaller
Browse files
Also use the function to check the recursion for the SUB_SELF functions.
parent
a26bb88d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact.h
View file @
668f58a9
...
...
@@ -2333,7 +2333,7 @@ void DOSUB_SELF1(struct runner *r, struct cell *ci, int gettimer) {
if
(
ci
->
count
==
0
||
!
cell_is_active
(
ci
,
r
->
e
))
return
;
/* Recurse? */
if
(
c
i
->
split
)
{
if
(
c
ell_can_recurse_in_pair_task
(
ci
)
)
{
/* Loop over all progeny. */
for
(
int
k
=
0
;
k
<
8
;
k
++
)
...
...
@@ -2628,7 +2628,7 @@ void DOSUB_SELF2(struct runner *r, struct cell *ci, int gettimer) {
if
(
ci
->
count
==
0
||
!
cell_is_active
(
ci
,
r
->
e
))
return
;
/* Recurse? */
if
(
c
i
->
split
)
{
if
(
c
ell_can_recurse_in_pair_task
(
ci
)
)
{
/* Loop over all progeny. */
for
(
int
k
=
0
;
k
<
8
;
k
++
)
...
...
@@ -2678,7 +2678,7 @@ void DOSUB_SUBSET(struct runner *r, struct cell *ci, struct part *parts,
if
(
cj
==
NULL
)
{
/* Recurse? */
if
(
c
i
->
split
)
{
if
(
c
ell_can_recurse_in_pair_task
(
ci
)
)
{
/* Loop over all progeny. */
DOSUB_SUBSET
(
r
,
sub
,
parts
,
ind
,
count
,
NULL
,
-
1
,
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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