Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
use equalto in degeneracy.jl (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfairbanks authored and sbromberger committed Jun 5, 2018
1 parent ad39bca commit b2a94aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/degeneracy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b2a94aa

Please sign in to comment.