Understood, but when I said that the variable type igraph_t be initialized before being passed as parameter to igraph_adjacency () function I meant only that igraph_t variable was initialized using igraph_empty () function. In this situation, some sort of error if I pass this variable to the adjacency function () occurs.
Thank you. > Date: Thu, 20 Nov 2014 12:04:52 -0500 > From: csardi.ga...@gmail.com > To: igraph-help@nongnu.org > Subject: Re: [igraph] : igraph_adjacency() > > 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
_______________________________________________ igraph-help mailing list igraph-help@nongnu.org https://lists.nongnu.org/mailman/listinfo/igraph-help