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
7f168616
Commit
7f168616
authored
Jun 12, 2013
by
Pedro Gonnet
Browse files
bug swapping particles.
Former-commit-id: 84b6e04582995eed72f57a946848eee10c5ab8e1
parent
2c149eb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact.h
View file @
7f168616
...
...
@@ -1378,7 +1378,7 @@ void DOSELF1 ( struct runner *r , struct cell *restrict c ) {
IACT_NONSYM
(
r2
,
dx
,
hi
,
hj
,
pi
,
&
parts
[
pjd
]
);
else
{
dx
[
0
]
=
-
dx
[
0
];
dx
[
1
]
=
-
dx
[
1
];
dx
[
2
]
=
-
dx
[
2
];
IACT_NONSYM
(
r2
,
dx
,
h
i
,
h
j
,
p
i
,
&
parts
[
pjd
]
);
IACT_NONSYM
(
r2
,
dx
,
h
j
,
hi
,
&
parts
[
pjd
]
,
pi
);
}
#else
...
...
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