First you initialize Graph g; Afterward you initialize: Graph G(5); //add some vertices and edges And then you start to work with empty Graph g ;) Sure it will not work! If you simply remove Graph g; compiler will point you what to fix ;) With Kind Regards, Ovanes Markarian On Mon, February 19, 2007 19:36, Jens Müller wrote:
Can someone help me with the following program? It crashes with Boost 1.33.1 on gcc34 (GCC) 3.4.3 20050113 (Red Hat 3.4.3-16):
$ ./1 make_map_as_colormap entered writing something to MapAsColorMap Speicherzugriffsfehler
I have tracked down the crash to this line in
: for (tie(ei, ei_end) = out_edges(u, g); ei != ei_end; ++ei) {
But I don't know what happens there ...
I'm quite sure the bug is NOT in my color map proxy ...
Thanks a lot in advance!
Cheers,
Jens _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users