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
e58c6b3f
Commit
e58c6b3f
authored
Jun 15, 2016
by
Matthieu Schaller
Browse files
Typo in sub_subset that leads to a crash in the isothermal sphere case.
parent
7e62ff74
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact.h
View file @
e58c6b3f
...
...
@@ -2361,7 +2361,7 @@ void DOSUB_SUBSET(struct runner *r, struct cell *ci, struct part *parts,
DOSUB_SUBSET
(
r
,
ci
->
progeny
[
7
],
parts
,
ind
,
count
,
cj
->
progeny
[
0
],
-
1
,
0
);
if
(
ci
->
progeny
[
7
]
!=
NULL
&&
cj
->
progeny
[
0
]
==
sub
)
DOSUB_SUBSET
(
r
,
c
i
->
progeny
[
0
],
parts
,
ind
,
count
,
c
j
->
progeny
[
7
],
DOSUB_SUBSET
(
r
,
c
j
->
progeny
[
0
],
parts
,
ind
,
count
,
c
i
->
progeny
[
7
],
-
1
,
0
);
break
;
...
...
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