|
Boost Users : |
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2007-02-19 14:08:26
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
> <boost/graph/breadth_first_search.hpp>:
>
> 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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net