It will cause a memory leak, as the memory allocated for the old graph will be lost. Call igraph_destroy() on it before calling igraph_adjacency().
Gabor On Thu, Nov 20, 2014 at 12:00 PM, patricia <souza302...@hotmail.com> wrote: > Hello, > > > A quick question: the igraph_adjacency () function receives as a parameter > an uninitialized object graph; If I provide a graph object initialized it > cause an error? > > > > Thanks for the help. > > _______________________________________________ > igraph-help mailing list > igraph-help@nongnu.org > https://lists.nongnu.org/mailman/listinfo/igraph-help > _______________________________________________ igraph-help mailing list igraph-help@nongnu.org https://lists.nongnu.org/mailman/listinfo/igraph-help