29 Jan
2007
29 Jan
'07
7:25 p.m.
Adrian Boeing schrieb:
Hi,
I have a an adjacency_list graph, which I've been using fine. I would like to remove a vertex from the graph, and I do so by calling: clear_vertex then remove_vertex
If I then try a call to: adjacent_vertices
on a vertex that used to have the removed vertex as a parent, my program then crashes on the line 1481 "boost::tie(first, last) = out_edges(u, g);" of adjacency_list.hpp
I'm using MSVC8.0
Any advice on what might be going wrong would be much appreciated.
Can you give a small test program that crashes? Are you using vecS storage? Maybe you are using an vertex descriptor that has been invalidated by the remove operation?