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

Commit

Permalink
Fixed bad loop index
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Sep 27, 2021
1 parent f501980 commit decdf50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encounter/encounter.f90
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ module subroutine encounter_check_all_triangular_pltp(npl, ntp, xpl, vpl, xtp, v
!$omp shared(npl, ntp, xpl, vpl, xtp, vtp, renc, dt, lenc, ind_arr) &
!$omp lastprivate(xr, yr, zr, vxr, vyr, vzr, lencounteri, lvdotri)
do i = 1, npl
do concurrent(j = 1:npl)
do concurrent(j = 1:ntp)
xr = xtp(1, j) - xpl(1, i)
yr = xtp(2, j) - xpl(2, i)
zr = xtp(3, j) - xpl(3, i)
Expand Down

0 comments on commit decdf50

Please sign in to comment.