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

Commit

Permalink
Fixed bug in closest approach computation
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 23, 2022
1 parent c1964db commit 65f81a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collision/collision_check.f90
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module subroutine collision_check_plpl(self, nbody_system, param, t, dt, irec, l
end do

lany_collision = any(lcollision(:))
!lany_closest = (param%lenc_save_closest .and. any(self%lclosest(:)))
lany_closest = (param%lenc_save_closest .and. any(self%lclosest(:)))


if (lany_collision .or. lany_closest) then
Expand Down

0 comments on commit 65f81a8

Please sign in to comment.