|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60769 - trunk/libs/graph/test
From: jewillco_at_[hidden]
Date: 2010-03-22 14:33:01
Author: jewillco
Date: 2010-03-22 14:33:00 EDT (Mon, 22 Mar 2010)
New Revision: 60769
URL: http://svn.boost.org/trac/boost/changeset/60769
Log:
Fixed warning (and probable bug) in test case
Text files modified:
trunk/libs/graph/test/metric_tsp_approx.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/graph/test/metric_tsp_approx.cpp
==============================================================================
--- trunk/libs/graph/test/metric_tsp_approx.cpp (original)
+++ trunk/libs/graph/test/metric_tsp_approx.cpp 2010-03-22 14:33:00 EDT (Mon, 22 Mar 2010)
@@ -92,8 +92,8 @@
typedef vector< Vertex > Container;
mt19937 rng(time(0));
- uniform_int<> range(0.01, (numpts * 2));
- variate_generator<mt19937&, uniform_int<> >
+ uniform_real<> range(0.01, (numpts * 2));
+ variate_generator<mt19937&, uniform_real<> >
pnt_gen(rng, range);
PointSet points;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk