From 98bc19fee1ece4ace0195e40ac21ad71ee3a5cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Fri, 6 Jun 2014 09:21:30 +0200 Subject: [PATCH] argument were mixed up --- BGL/doc/BGL/BGL.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BGL/doc/BGL/BGL.txt b/BGL/doc/BGL/BGL.txt index 8a4ae3969b6..2b2e5af61a1 100644 --- a/BGL/doc/BGL/BGL.txt +++ b/BGL/doc/BGL/BGL.txt @@ -110,8 +110,8 @@ well as the distance to the source in such a property map. Some default property maps are associated with the graph types. They are called *internal property maps* and can be retrieved using an -overload of the function `get()`. For example, pm = get(g, -boost::vertex_index) returns a property map that associates an index +overload of the function `get()`. For example, pm = get(boost::vertex_index, g) +returns a property map that associates an index in the range `[0, num_vertices(g))` with each vertex of the graph. This reduces the number of parameters to pass. The data itself may be stored in the vertex or the edge, or it may