Skip to content

Commit c319549

Browse files
committed
Added missing initialization to dual_tree_traversal in BallTreeBoruvkaAlgorithm
1 parent 5425cd2 commit c319549

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hdbscan/_hdbscan_boruvka.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,6 +1285,9 @@ cdef class BallTreeBoruvkaAlgorithm (object):
12851285

12861286
new_bound = 0.0
12871287

1288+
new_upper_bound = 0.0
1289+
new_lower_bound = DBL_MAX
1290+
12881291
point_indices1 = self.idx_array[node1_info.idx_start:
12891292
node1_info.idx_end]
12901293
point_indices2 = self.idx_array[node2_info.idx_start:

0 commit comments

Comments
 (0)