Commit 7f168616 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

bug swapping particles.


Former-commit-id: 84b6e04582995eed72f57a946848eee10c5ab8e1
parent 2c149eb6
......@@ -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 , hi , hj , pi , &parts[pjd] );
IACT_NONSYM( r2 , dx , hj , hi , &parts[pjd] , pi );
}
#else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment