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

Commit

Permalink
Fixed index range
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jul 30, 2021
1 parent 445a8cc commit c2ca5ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symba/symba_encounter_check.f90
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module function symba_encounter_check_pltpenc(self, system, dt, irec) result(lan
select type(tp => system%tp)
class is (symba_tp)
allocate(lencmask(self%nenc))
lencmask(:) = (self%status(1:self%nenc) == ACTIVE) .and. (self%level(:) == irec - 1)
lencmask(:) = (self%status(1:self%nenc) == ACTIVE) .and. (self%level(1:self%nenc) == irec - 1)
if (.not.any(lencmask(:))) return
associate(ind1 => self%index1, ind2 => self%index2)
do concurrent(k = 1:self%nenc, lencmask(k))
Expand Down

0 comments on commit c2ca5ce

Please sign in to comment.