Skip to content

Commit

Permalink
Update _hdbscan_tree.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcinnes authored May 24, 2024
1 parent 34be7d8 commit aa99a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hdbscan/_hdbscan_tree.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ cpdef np.ndarray condense_tree(np.ndarray[np.double_t, ndim=2] hierarchy,
relabel = np.empty(root + 1, dtype=np.intp)
relabel[root] = num_points
result_list = []
ignore = np.zeros(len(node_list), dtype=int)
ignore = np.zeros(len(node_list), dtype=np.int8)

for node in node_list:
if ignore[node] or node < num_points:
Expand Down

0 comments on commit aa99a71

Please sign in to comment.