Skip to content

Commit

Permalink
rename function to use numba one across library.
Browse files Browse the repository at this point in the history
  • Loading branch information
saransh13 committed Jan 4, 2024
1 parent 3c31131 commit 03100c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hexrd/matrixutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def uniqueVectors(v, tol=1.0e-12):
return vSrt[:, ivInd[0:nUniq]]


def findDuplicateVectors(vec, tol=vTol, equivPM=False):
def findDuplicateVectors_old(vec, tol=vTol, equivPM=False):
"""
Find vectors in an array that are equivalent to within
a specified tolerance
Expand Down Expand Up @@ -683,7 +683,7 @@ def findDuplicateVectors(vec, tol=vTol, equivPM=False):

return eqv, uid

def findDuplicateVectors_numba(vec, tol=vTol, equivPM=False):
def findDuplicateVectors(vec, tol=vTol, equivPM=False):

eqv = _findduplicatevectors(vec, tol, equivPM)
uid = np.arange(0, vec.shape[1], dtype=np.int64)
Expand Down

0 comments on commit 03100c5

Please sign in to comment.