|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62176 - trunk/boost/graph/distributed
From: jewillco_at_[hidden]
Date: 2010-05-24 13:40:08
Author: jewillco
Date: 2010-05-24 13:40:07 EDT (Mon, 24 May 2010)
New Revision: 62176
URL: http://svn.boost.org/trac/boost/changeset/62176
Log:
Fixed log ambiguity in VC++ 10
Text files modified:
trunk/boost/graph/distributed/rmat_graph_generator.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/graph/distributed/rmat_graph_generator.hpp
==============================================================================
--- trunk/boost/graph/distributed/rmat_graph_generator.hpp (original)
+++ trunk/boost/graph/distributed/rmat_graph_generator.hpp 2010-05-24 13:40:07 EDT (Mon, 24 May 2010)
@@ -60,7 +60,7 @@
if (permute_vertices)
generate_permutation_vector(gen, vertexPermutation, n);
- int SCALE = int(floor(log(n)/log(2.)));
+ int SCALE = int(floor(log(double(n))/log(2.)));
boost::uniform_01<RandomGenerator> prob(gen);
std::map<value_type, bool> edge_map;
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