[Top][All Lists]

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

Re: [igraph] python function for creating igraph_vector_t

From: Tamas Nepusz
Subject: Re: [igraph] python function for creating igraph_vector_t
Date: Wed, 12 Jan 2011 14:55:42 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7

For the record: this has been sorted out with some help from Pascal - it
was a bug in the code of igraph_contract_vertices. The nightly builds
from tomorrow should not have this bug anymore.


On 01/12/2011 01:32 AM, Pascal Jürgens wrote:
> Hi,
> I'd like to use my own membership vectors (from Rosvall & Bergstrom's infomap 
> algorithm) in the python interface. However, being a plain python list is not 
> enough, as they don't seem to get converted. At least, passing them into 
> contract_vertices crashes reliably (*).
> Is there any way I can convert a list of int()s to some object that will hold 
> the corresponding igraph_vector_t? Or am I on the wrong path and the 
> underlying issue is something entirely different?
> Regards,
> Pascal Juergens
> (*)
> This is on a 0.6 build from yesterday, but also occurs on older ones:
> python(5294) malloc: *** error for object 0x10582fa98: incorrect checksum for 
> freed object - object was probably modified after being freed.
> *** set a breakpoint in malloc_error_break to debug
> Abort trap
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help

reply via email to

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