igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] : igraph_adjacency()


From: patricia
Subject: Re: [igraph] : igraph_adjacency()
Date: Thu, 20 Nov 2014 21:05:31 +0300

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: address@hidden
> To: address@hidden
> 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 <address@hidden> 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
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/igraph-help
> >
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help

reply via email to

[Prev in Thread] Current Thread [Next in Thread]