|
From: | Vincent Matossian |
Subject: | Re: [igraph] Memory management issue |
Date: | Tue, 21 Nov 2006 16:04:23 -0500 |
Oops, i forgot to send you the corrected algorithm, so here it is.
Some version of it will be in the next igraph release.
Gabor
On Tue, Nov 21, 2006 at 12:36:37AM -0500, Gabor Csardi wrote:
> Ok, the memory problem is because igraph_delete_vertices allocates more
> memory for the new than neccesary. I've rewritten it, the version in the
> development tree is good. If you need it right away then you can try to
> switch igraph_delete_vertices() in file src/type_indexededgelist.c with the
> one attached. I'm not sure that it works as there were some changes in the
> development version since the last release.
>
> Gabor
>
> On Mon, Nov 20, 2006 at 09:53:38PM -0500, Gabor Csardi wrote:
> > Vincent,
> >
> > there is a problem with the algorithm, since it does not produce the correct
> > results, i've tried it for trees, see the attached file, if you run that it
> > is clear that something is wrong. Just draw the tree in the example and
> > you'll see. But it is possible to correct it, easily.
> >
> > Gabor
> >
>
> --
> Csardi Gabor <address@hidden> MTA RMKI, ELTE TTK
--
Csardi Gabor <address@hidden> MTA RMKI, ELTE TTK
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |