igraph-help
[Top][All Lists]
Advanced

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

[igraph] Negative vertex id in random graph generator


From: Richard Geddes
Subject: [igraph] Negative vertex id in random graph generator
Date: Sat, 08 Dec 2007 23:52:18 -0500
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

Hello,

I've been generating some random graphs with the following:

igraph_erdos_renyi_game(&graph, IGRAPH_ERDOS_RENYI_GNP, n, 10.0/n,
IGRAPH_UNDIRECTED, IGRAPH_NO_LOOPS);

I tried n = 100, 500, 1000, 5000, 10000   and everything look good.

However, when I tried n = 50000, 100000 I got the following output:
---
Error at structure_generators.c:74 :Invalid (negative) vertex id,
Invalid vertex id
Aborted (core dumped)
---

Is this a bug?

Thanks
Richard






reply via email to

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