|
From: | Gábor Csárdi |
Subject: | Re: [igraph] dyad_census() does not hold large graph |
Date: | Sat, 15 Jun 2013 09:48:53 -0400 |
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 dyadsas 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
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |