> After some examination, igraph's calculations for density of a graph with > self-loops is counter to what I expected. > > >
You are probably right; I think there is a bug in the undirected density calculation when loops=True because the density of a graph with a single vertex and a single loop edge is 2.0 according to igraph. I’ll take a look at the code and try to get this fixed before the next release. T.
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
