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

Commit

Permalink
removes equalto (#867)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbromberger authored Mar 18, 2018
1 parent 8329fd3 commit 61b16df
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(equalto(k), kcoredeg)]
return kcore[findall(x-> x == k, kcoredeg)]
end

0 comments on commit 61b16df

Please sign in to comment.