Skip to content

Commit 4b52a3a

Browse files
committed
Remove unnecessary lines
1 parent 2cfa1d3 commit 4b52a3a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

hdbscan/_hdbscan_boruvka.pyx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,8 @@ cdef class BoruvkaAlgorithm (object):
148148
node_info = self.tree.node_data[n]
149149
if node_info.is_leaf:
150150
point_indices = idx_array[node_info.idx_start:node_info.idx_end]
151-
b1 = nn_dist[point_indices].max()
152-
# b1 = self.core_distance_arr[point_indices].max()
151+
b1 = nn_dist[point_indices].max() # b1 = self.core_distance_arr[point_indices].max()
153152
b2 = (nn_dist[point_indices] + 2 * node_info.radius).min()
154-
# b2 = (self.core_distance_arr[point_indices] + 2 * node_info.radius).min()
155153
self.bounds[n] = min(b1, b2)
156154
else:
157155
child1 = 2 * n + 1

0 commit comments

Comments
 (0)