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

Commit

Permalink
Removed problematic status updates from spill methods
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 24, 2021
1 parent 55d4de3 commit 3a1e58c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/util/util_spill.f90
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ module subroutine util_spill_body(self, discards, lspill_list, ldestructive)
! Therefore we need to set the nbody values for both the keeps and discareds
discards%nbody = count(lspill_list(:))
keeps%nbody = keeps%nbody - discards%nbody
if (keeps%nbody > size(keeps%status)) keeps%status(keeps%nbody+1:size(keeps%status)) = INACTIVE
end associate

return
Expand Down Expand Up @@ -316,7 +315,6 @@ module subroutine util_spill_encounter(self, discards, lspill_list, ldestructive
! Therefore we need to set the nenc values for both the keeps and discareds
discards%nenc = count(lspill_list(:))
keeps%nenc = count(.not.lspill_list(:))
if (size(keeps%status) > keeps%nenc) keeps%status(keeps%nenc+1:size(keeps%status)) = INACTIVE
end associate

return
Expand Down

0 comments on commit 3a1e58c

Please sign in to comment.