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

Commit

Permalink
fixed validmask in netcdf_read_frame_base
Browse files Browse the repository at this point in the history
  • Loading branch information
cwishard committed Sep 29, 2021
1 parent 906963e commit 357345f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/netcdf/netcdf.f90
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,10 @@ module function netcdf_read_frame_base(self, iu, param) result(ierr)
select type(self)
class is (swiftest_pl)
ind(:) = pack(ind(:), (.not.tpmask(:) .and. validmask(:)))
n = count(.not.tpmask(:))
n = count(.not.tpmask(:) .and. validmask(:))
class is (swiftest_tp)
ind(:) = pack(ind(:), (tpmask(:) .and. validmask(:)))
n = count(tpmask(:))
n = count(tpmask(:) .and. validmask(:))
end select

do i = j, n
Expand Down

0 comments on commit 357345f

Please sign in to comment.