Skip to content

Commit

Permalink
[fix]remove println
Browse files Browse the repository at this point in the history
forgot to remove debugging code
  • Loading branch information
MommaWatasu committed Apr 27, 2024
1 parent 6039c0c commit 3cc7689
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hdbscan.jl
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ function hdbscan_clusters(mst::AbstractVector{MSTEdge}, min_size::Integer)
c1 = group(uf, j)
c2 = group(uf, k)
#reference to the parent cluster
println(c1, c2, n+i)
clusters[c1].parent = clusters[c2].parent = n+i
nc1, nc2 = isnoise(clusters[c1]), isnoise(clusters[c2])
if !(nc1 || nc2)
Expand Down Expand Up @@ -235,7 +234,6 @@ function prune_cluster!(hierarchy::Vector{HdbscanCluster})
push!(hierarchy[c.parent].children, i)
hierarchy[c.parent].children_stability += c.stability
else
println(c.parent, i)
append!(hierarchy[c.parent].children, c.children)
hierarchy[c.parent].children_stability += c.children_stability
end
Expand Down

0 comments on commit 3cc7689

Please sign in to comment.