From 8b51fcff02490f4a53d1322ae969ee4b0e0f522b Mon Sep 17 00:00:00 2001 From: Saransh Singh <saransh13@gmail.com> Date: Thu, 4 Jan 2024 10:45:21 -0800 Subject: [PATCH] rename function to use numba one across library. --- hexrd/matrixutil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hexrd/matrixutil.py b/hexrd/matrixutil.py index 2066ced85..c1dfadd18 100644 --- a/hexrd/matrixutil.py +++ b/hexrd/matrixutil.py @@ -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 @@ -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)