Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sbromberger committed Sep 1, 2015
1 parent 69b1223 commit 3cc9f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spectral.jl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ adjacency_spectrum(g::DiGraph, dir::Symbol=:both, T::DataType=Int) = eigvals(ful


function CombinatorialAdjacency(g::Graph)
isdefined(:GraphMatrices) || error("GraphMatrices.jl is required for this function")
isdefined(:GraphMatrices) || error("GraphMatrices.jl is required for this function.\nYou must recompile LightGraphs after installing GraphMatrices.")
d = float(indegree(g))
return CombinatorialAdjacency{Float64, typeof(g), typeof(d)}(g,d)
end

0 comments on commit 3cc9f99

Please sign in to comment.