Skip to content

Commit

Permalink
Reduce BH duplicate threshold to 1e-16, fix failing iris test
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlin-policar committed Feb 15, 2023
1 parent 6bbc391 commit 3c561f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openTSNE/quad_tree.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ cdef void split_node(Node * node):
PyMem_Free(new_center)


cdef inline bint is_duplicate(Node * node, double * point, double duplicate_eps=EPSILON) nogil:
cdef inline bint is_duplicate(Node * node, double * point, double duplicate_eps=1e-16) nogil:
cdef Py_ssize_t d
for d in range(node.n_dims):
if fabs(node.center_of_mass[d] - point[d]) >= duplicate_eps:
Expand Down

0 comments on commit 3c561f2

Please sign in to comment.