Skip to content

Commit

Permalink
Avoid 0-indexed access in search_nci.f90 (#1192)
Browse files Browse the repository at this point in the history
Signed-off-by: Igor S. Gerasimov <[email protected]>
  • Loading branch information
foxtran authored Feb 14, 2025
1 parent 8964b4f commit b28fbff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/docking/search_nci.f90
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,9 @@ END SUBROUTINE Quicksort

l = 0
do j = 1, 14
if (cssym .and. mvec(icssym, j) .lt. 0) cycle ! exclude sym. equiv.
if (cssym) then
if(mvec(icssym, j) .lt. 0) cycle ! exclude sym. equiv.
end if
r = stepr4
if (j .gt. 6) r = stepr4/sqrt(3.)
dum2(1:3) = mvec(1:3, j)*r !mvec just vector in every direction in 3D
Expand Down

0 comments on commit b28fbff

Please sign in to comment.