Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62933 - trunk/libs/graph/doc
From: jewillco_at_[hidden]
Date: 2010-06-14 11:37:54


Author: jewillco
Date: 2010-06-14 11:37:53 EDT (Mon, 14 Jun 2010)
New Revision: 62933
URL: http://svn.boost.org/trac/boost/changeset/62933

Log:
Fixed graph construction; fixes #4342
Text files modified:
   trunk/libs/graph/doc/quick_tour.html | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/graph/doc/quick_tour.html
==============================================================================
--- trunk/libs/graph/doc/quick_tour.html (original)
+++ trunk/libs/graph/doc/quick_tour.html 2010-06-14 11:37:53 EDT (Mon, 14 Jun 2010)
@@ -445,7 +445,7 @@
                 E(4,0), E(4,1) };
   int weights[] = { 1, 2, 1, 2, 7, 3, 1, 1, 1};
 
- Graph G(edges + sizeof(edges) / sizeof(E), weights, num_nodes);
+ Graph G(edges, edges + sizeof(edges) / sizeof(E), weights, num_nodes);
 </pre>
 <p>For the external distance property we will use a <tt>std::vector</tt> for
 storage. BGL algorithms treat random access iterators as property maps, so we


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