Boost logo

Boost Users :

Subject: Re: [Boost-users] BGL: Problem to compile components_on_edgelist.cpp example.
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-05-07 13:19:38


On Thu, 6 May 2010, Arman Khalatyan wrote:

> I took the code from boost-trunk/libs/graph/example/components_on_edgelist.cpp
> compiled with
> g++ components_on_edgelist.cpp -I/work2/arm2arm/SOFTWARE/BOOST-SVN/include/ -o components_on_edgelist.x
> and
> valgrind components_on_edgelist.x
>
> i did not change the components_on_edgelist.cpp file from svn.

Update now -- I think I fixed it. The disjoint_sets structure was being
created with a zero-length vector, and I changed it to use the number of
vertices in the graph.

-- Jeremiah Willcock


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