diff --git a/contarg/clustering.py b/contarg/clustering.py index 6b7386c..ebb9a64 100644 --- a/contarg/clustering.py +++ b/contarg/clustering.py @@ -146,7 +146,7 @@ def repdist_tree(X, X_for_connected_components, connectivity, if return_distance: distances = np.empty(n_nodes - n_samples) - not_visited = np.empty(n_nodes, dtype=np.int8, order="C") + not_visited = np.empty(n_nodes, dtype=bool, order="C") # recursive merge loop for k in range(n_samples, n_nodes):