Skip to content
Snippets Groups Projects
Commit 0f7e2b88 authored by Alán Muñoz's avatar Alán Muñoz
Browse files

replace greater for ge in track funs

Former-commit-id: 2519c41db2359fb6f331b2a0e4cc0bc17fc4f731
parent f85df9d2
No related branches found
No related tags found
No related merge requests found
......@@ -313,7 +313,7 @@ def get_closest_pairs(pre: List[float], post: List[float], tol: Union[float, int
result = dMetric[ids] / norm
ids = ids if len(pre) < len(post) else ids[::-1]
return [idx for idx, res in zip(zip(*ids), result) if res < tol]
return [idx for idx, res in zip(zip(*ids), result) if res <= tol]
def solve_matrix(dMetric):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment