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
ad5aa875
Commit
ad5aa875
authored
Nov 14, 2013
by
Pedro Gonnet
Browse files
fix missing sid.
Former-commit-id: c98b7798d8be5cc3e31e69b1e9ca67ff18cf4c32
parent
2f450280
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact.h
View file @
ad5aa875
...
...
@@ -2293,13 +2293,13 @@ void DOSUB_SUBSET ( struct runner *r , struct cell *ci , struct part *parts , in
/* Get the cell dimensions. */
h
=
fmin
(
ci
->
h
[
0
]
,
fmin
(
ci
->
h
[
1
]
,
ci
->
h
[
2
]
)
);
/* Get the type of pair if not specified explicitly. */
sid
=
space_getsid
(
s
,
&
ci
,
&
cj
,
shift
);
/* Recurse? */
if
(
ci
->
split
&&
cj
->
split
&&
fmaxf
(
ci
->
h_max
,
cj
->
h_max
)
*
kernel_gamma
+
ci
->
dx_max
+
cj
->
dx_max
<
h
/
2
)
{
/* Get the type of pair if not specified explicitly. */
sid
=
space_getsid
(
s
,
&
ci
,
&
cj
,
shift
);
/* Different types of flags. */
switch
(
sid
)
{
...
...
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