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

Commit

Permalink
Made updating of nbody in append more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 11, 2021
1 parent f611c5d commit f13b6c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/util/util_append.f90
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,9 @@ module subroutine util_append_body(self, source, lsource_mask)
call util_append(self%capom, source%capom, nold, nsrc, lsource_mask)
call util_append(self%omega, source%omega, nold, nsrc, lsource_mask)
call util_append(self%capm, source%capm, nold, nsrc, lsource_mask)
self%nbody = nold + count(lsource_mask(:))
end associate

self%nbody = count(self%status(:) /= INACTIVE)

return
end subroutine util_append_body

Expand Down

0 comments on commit f13b6c7

Please sign in to comment.