|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61543 - trunk/libs/graph/test
From: jewillco_at_[hidden]
Date: 2010-04-24 12:49:41
Author: jewillco
Date: 2010-04-24 12:49:39 EDT (Sat, 24 Apr 2010)
New Revision: 61543
URL: http://svn.boost.org/trac/boost/changeset/61543
Log:
Fixed ambiguity errors from regression tests
Text files modified:
trunk/libs/graph/test/astar_search_test.cpp | 2 +-
trunk/libs/graph/test/metric_tsp_approx.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/graph/test/astar_search_test.cpp
==============================================================================
--- trunk/libs/graph/test/astar_search_test.cpp (original)
+++ trunk/libs/graph/test/astar_search_test.cpp 2010-04-24 12:49:39 EDT (Sat, 24 Apr 2010)
@@ -169,7 +169,7 @@
// pick random start/goal
- minstd_rand gen(time(0));
+ boost::minstd_rand gen(time(0));
vertex start = gen() % num_vertices(g);
vertex goal = gen() % num_vertices(g);
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-04-24 12:49:39 EDT (Sat, 24 Apr 2010)
@@ -91,7 +91,7 @@
typedef set<simple_point<double>, cmpPnt<double> > PointSet;
typedef vector< Vertex > Container;
- mt19937 rng(time(0));
+ boost::mt19937 rng(time(0));
uniform_real<> range(0.01, (numpts * 2));
variate_generator<mt19937&, uniform_real<> >
pnt_gen(rng, range);
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