Skip to content

Commit

Permalink
Update distance_matrix.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeonghun1675 authored May 24, 2024
1 parent 4e57ac8 commit b022f3c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fast_grid/libs/distance_matrix.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ def distance_matrix_triclinic_cython(np.ndarray[np.float64_t, ndim=2] pos1,
dx_min[1] = rz1
dx_min[2] = rz2

# with gil:
# minimum_image_triclinic(diff, box)
r2 = dx_min[0] * dx_min[0] + dx_min[1] * dx_min[1] + dx_min[2] * dx_min[2]
distances[i, j] = sqrt(r2)

Expand Down

0 comments on commit b022f3c

Please sign in to comment.