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

Commit

Permalink
Fixed bug that was incorrectly setting status flags on encounter spills
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 24, 2021
1 parent b41ff55 commit 55d4de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/util_spill.f90
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ 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 (keeps%nenc > size(keeps%status)) keeps%status(keeps%nenc+1:size(keeps%status)) = INACTIVE
if (size(keeps%status) > keeps%nenc) keeps%status(keeps%nenc+1:size(keeps%status)) = INACTIVE
end associate

return
Expand Down

0 comments on commit 55d4de3

Please sign in to comment.