diff --git a/src/degeneracy.jl b/src/degeneracy.jl index 16b606381..c90e9f620 100644 --- a/src/degeneracy.jl +++ b/src/degeneracy.jl @@ -154,5 +154,5 @@ function k_corona(g::AbstractGraph, k; corenum=core_number(g)) kcoreg = g[kcore] kcoredeg = degree(kcoreg) - return kcore[findall(occursin(k), kcoredeg)] + return kcore[findall(equalto(k), kcoredeg)] end