Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2000-12-05 10:59:54


Yow, thanks for catching that! I think that may have been commented
out when testing something, and didn't get put back in.

Cheers,
Jeremy

On Tue, 5 Dec 2000, Andrew Myers wrote:

> Hi,
>
> I have downloaded boost_1_18_3 and am trying to build the
> libs/graph/test/graph.cpp exe. I was actually using ggcl a few months ago and am
> now converting over programs I had to BGL.
>
> Anyway,
>
> In boost/graph/graph_utility.hpp, the rand() function is commented out thus,
>
> inline std::size_t random_number(std::size_t N) {
> #if 0
> std::size_t ret = rand() % N;
> #else
> std::size_t ret = 0;
> (void)N; // suppress unused argument warning.
> #endif
> return ret;
> }
>
> Is there are reason for this? Currently random_vertex(Graph& g) does not work.
>
> Regards
>
> --
> Andrew Myers /-_|\ I-SiTE
> Software Engineer / \ 3D Laser Imaging
> Phone: (+61 8) 8338 9222 \_,-o_/
> Fax : (+61 8) 8338 9229 v
> Email: Andrew.Myers_at_[hidden] http://www.isite3d.com.au
>
>
>
>

----------------------------------------------------------------------
 Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
 Ph.D. Candidate email: jsiek_at_[hidden]
 Univ. of Notre Dame work phone: (219) 631-3906
----------------------------------------------------------------------


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk