On 21.04.2015 06:40, Bo Wu wrote:
Sorry to bother again. I am not sure how python build-in methods "sorted" and "reversed" work on vertex descriptor list. The following code snippet output:
vertex 3 vertex 5 vertex 1
code snippet:
del_list = [g.vertex(1), g.vertex(5), g.vertex(3)] for v in reversed(sorted(del_list)): print 'vertex', int(v)
Is it correct? I am using debian wheezy, and install graph-tool by adding
"deb http://downloads.skewed.de/apt/wheezy wheezy main " in my source list. Although I know there only lists "jessie" and "sid",
I still got graph-tool successfully installed and everything seems work well.
Be careful, if you use "wheezy" you will install a _very old_ version of graph-tool! Newer versions do not compile in wheezy, so you must use jessie or sid! What you are seeing is probably a bug from a long time ago that already got fixed... Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>