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

Commit

Permalink
Added extra clarification for aobl allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
anand43 committed Sep 28, 2023
1 parent 4a6b2f8 commit 2987b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swiftest/swiftest_util.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2539,7 +2539,7 @@ module subroutine swiftest_util_setup_body(self, n, param)
self%peri(:) = 0.0_DP
self%atp(:) = 0.0_DP

if (param%loblatecb) then
if (param%loblatecb .or. param%lshgrav) then
allocate(self%aobl(NDIM, n))
self%aobl(:,:) = 0.0_DP
end if
Expand Down

0 comments on commit 2987b3d

Please sign in to comment.