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 <[email protected]> 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 > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
