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