igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] dyad_census() does not hold large graph


From: ????????????
Subject: [igraph] dyad_census() does not hold large graph
Date: Sat, 15 Jun 2013 21:33:41 +0800

Hi all,

I'm using igraph in python.

I have a graph with 50309 nodes and 332582 edges.

when I call dyad_census(), it returns: 44684 mutual, 243214 asymmetric, -882298960 null dyads

as you can see, the number for null is a negative.

Of course, I can calculate it by (50309*50308-2*44684-2*243214)/2=1265184688.
I just present this case I encount.

for smaller graph, it works well.

I think it's just because the number becomes too large, so that it overflows.

isn't held by a 64-bit integer, then?

Thanks.

Gang

reply via email to

[Prev in Thread] Current Thread [Next in Thread]