[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Re: degree list
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] Re: degree list |
Date: |
Tue, 20 Apr 2010 17:28:25 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi Yong,
> 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));
The code seems OK in general; can you please send a simple,
self-contained example that reproduces the error on your computer?
(Something I could compile on my machine without adding anything)
--
Tamas