|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52172 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-04-04 16:02:26
Author: jewillco
Date: 2009-04-04 16:02:25 EDT (Sat, 04 Apr 2009)
New Revision: 52172
URL: http://svn.boost.org/trac/boost/changeset/52172
Log:
Fixed regression test errors and warnings
Text files modified:
trunk/boost/graph/fruchterman_reingold.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/graph/fruchterman_reingold.hpp
==============================================================================
--- trunk/boost/graph/fruchterman_reingold.hpp (original)
+++ trunk/boost/graph/fruchterman_reingold.hpp 2009-04-04 16:02:25 EDT (Sat, 04 Apr 2009)
@@ -104,7 +104,7 @@
PositionMap position, const Graph& g)
: topology(topology), extent(extent), origin(origin), position(position)
{
- two_k = 2. * topology.volume(extent) / std::sqrt(num_vertices(g));
+ two_k = 2. * this->topology.volume(this->extent) / std::sqrt((double)num_vertices(g));
}
template<typename Graph, typename ApplyForce >
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