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

Commit

Permalink
Fixed uninitialized aoblcb when test particles are being calculated
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jun 15, 2021
1 parent bc1acc4 commit 6ae9c82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/obl/obl.f90
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
aobl(:, i) = fac1 * xh(:, i)
aobl(3, i) = fac2 * xh(3, i) + aobl(3, i)
end do
aoblcb(:) = 0.0_DP
select type(self)
class is (swiftest_pl)
associate(Mpl => self%Gmass)
Expand Down

0 comments on commit 6ae9c82

Please sign in to comment.