[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] Re: degree list
From: |
Yong Zou |
Subject: |
[igraph] Re: degree list |
Date: |
Tue, 20 Apr 2010 18:25:01 +0200 |
Sorry Tamas,
Let me copy a short piece of code here:
igraph_vector_init(&result, 0);
igraph_degree(&graph, &result, igraph_vss_all(), IGRAPH_ALL, IGRAPH_LOOPS);
for(i=0; i<nNode; i++)
fprintf(f2_p, "%d\n", (int)igraph_vector_e(&result, i));
if the link density is high, 1 or 5%, the error message appears.
On Tue, Apr 20, 2010 at 6:19 PM, Yong Zou <address@hidden> wrote:
> Hi Tamas,
>
> I'm having a problem again. :-)
>
> How can I avoid the following error message?
> vector.pmt:763: igraph_vector_resize: Assertion `v->stor_begin !=
> ((void *)0)' failed.
>
> It happens when I increase the link density of the network, say has
> 10000 nodes with high density 1%.
>
> Thanks in advance.
> Yong
>
> --
> Dr. Yong Zou
> Potsdam Institute for Climate Impact Research (PIK)
> Research Domain IV: Transdisciplinary Concepts & Methods
>
> Postal address:
> P.O. Box 601203
> 14412 Potsdam
> Germany
>
> Tel.:+49-(0)331 - 288-2467
> Fax: +49-(0)331 - 288-2640
> Email: address@hidden
> http://www.pik-potsdam.de/members/yongzou
>
--
Dr. Yong Zou
Potsdam Institute for Climate Impact Research (PIK)
Research Domain IV: Transdisciplinary Concepts & Methods
Postal address:
P.O. Box 601203
14412 Potsdam
Germany
Tel.:+49-(0)331 - 288-2467
Fax: +49-(0)331 - 288-2640
Email: address@hidden
http://www.pik-potsdam.de/members/yongzou