Skip to content

Commit

Permalink
Update distance_matrix.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeonghun1675 committed May 24, 2024
1 parent b022f3c commit 4a304c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fast_grid/libs/distance_matrix.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ cimport numpy as np
from libc.math cimport sqrt


@cython.boundscheck(False)
@cython.wraparound(False)
@cython.cdivision(True)
def distance_matrix_triclinic_cython(np.ndarray[np.float64_t, ndim=2] pos1,
np.ndarray[np.float64_t, ndim=2] pos2,
np.ndarray[np.float64_t, ndim=2] box):
Expand Down

0 comments on commit 4a304c3

Please sign in to comment.