Skip to content

Commit

Permalink
Merge pull request #570 from EPIC-model/fix-rejection-method
Browse files Browse the repository at this point in the history
Fix rejection method
  • Loading branch information
matt-frey authored Jul 25, 2024
2 parents 50dc939 + 8b867c3 commit ec2ff53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/3d/parcels/parcel_netcdf.f90
Original file line number Diff line number Diff line change
Expand Up @@ -458,12 +458,12 @@ subroutine read_netcdf_parcels(fname)
end_index = min(max_num_parcels, n_total)
pfirst = 1
n_remaining = n_total
n_parcels = 0

do while (start_index <= end_index)

n_read = end_index - start_index + 1
n_remaining = n_remaining - n_read
n_parcels = pfirst + n_read - 1

call rejection_method(start_index, end_index, pfirst)

Expand Down

0 comments on commit ec2ff53

Please # to comment.