From 61b16df9156ce22ed6b2e1a938396e24e3140c51 Mon Sep 17 00:00:00 2001 From: Seth Bromberger Date: Sun, 18 Mar 2018 12:50:47 -0700 Subject: [PATCH] removes equalto (#867) --- src/degeneracy.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/degeneracy.jl b/src/degeneracy.jl index c90e9f620..baf0b03e4 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(equalto(k), kcoredeg)] + return kcore[findall(x-> x == k, kcoredeg)] end