[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] : igraph_adjacency()
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] : igraph_adjacency() |
Date: |
Thu, 20 Nov 2014 13:09:15 -0500 |
On Thu, Nov 20, 2014 at 1:05 PM, patricia <address@hidden> wrote:
> 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.
You will still have a memory leak.
> In this situation, some sort of error if I pass this variable to the
> adjacency function () occurs.
Then I guess you are making some sort of mistake.
Gabor
> 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
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
- [igraph] : igraph_adjacency(), patricia, 2014/11/20
- Re: [igraph] : igraph_adjacency(), Gábor Csárdi, 2014/11/20
- Re: [igraph] : igraph_adjacency(), patricia, 2014/11/20
- Re: [igraph] : igraph_adjacency(),
Gábor Csárdi <=
- [igraph] generate random weights for edges under constrain, Ragia Ibrahim, 2014/11/22
- Re: [igraph] generate random weights for edges under constrain, Tamas Nepusz, 2014/11/22
- Re: [igraph] generate random weights for edges under constrain, Ragia Ibrahim, 2014/11/22
- Re: [igraph] generate random weights for edges under constrain, Ragia Ibrahim, 2014/11/22
- Re: [igraph] generate random weights for edges under constrain, Tamas Nepusz, 2014/11/22