Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed incorrect index bug
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jul 7, 2021
1 parent 20dac50 commit 693bf2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helio/helio_getacch.f90
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ subroutine helio_getacch_int_pl(pl, t)
faci = pl%Gmass(i) * irij3
facj = pl%Gmass(j) * irij3
pl%ahi(:,i) = pl%ahi(:,i) + facj * dx(:)
pl%ahi(:,i) = pl%ahi(:,j) - faci * dx(:)
pl%ahi(:,j) = pl%ahi(:,j) - faci * dx(:)
end do
end do
end associate
Expand Down

0 comments on commit 693bf2e

Please sign in to comment.