Skip to content

Commit

Permalink
Fix size types in BGL doc (#8722)
Browse files Browse the repository at this point in the history
## Release Management

* Affected package(s): `BGL`
* Issue(s) solved (if any): fix #8720
* Feature/Small Feature (if any): -
* License and copyright ownership: no change
  • Loading branch information
sloriot authored Feb 12, 2025
2 parents 8675d06 + 68e7bfa commit 47263d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BGL/doc/BGL/BGL.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ boost::graph_traits<Graph>::edge_iterator ei;
Algorithms obtain incidence information in graphs with the help of global
functions such as:
- `std::pair<vertex_iterator,vertex_iterator> vertices(const Graph& g);` to obtain an iterator range providing access to all the vertices, or
- `int num_vertices(const Graph&);` to obtain the number of vertices of a graph, or
- `vertices_size_type num_vertices(const Graph&);` to obtain the number of vertices of a graph, or
- `vertex_descriptor source(edge_descriptor, const Graph&);` to obtain the source vertex of an edge.

Note, that the way we have written the types is a simplification; in reality,
Expand Down
2 changes: 1 addition & 1 deletion BGL/doc/BGL/Concepts/FaceListGraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ faces(const FaceListGraph& g);
This is the case for implementations only marking faces deleted in the face container.
*/
template <typename FaceListGraph>
boost::graph_traits<FaceListGraph>::face_size_type
boost::graph_traits<FaceListGraph>::faces_size_type
num_faces(const FaceListGraph& g);

2 changes: 1 addition & 1 deletion BGL/doc/BGL/Concepts/HalfedgeListGraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ halfedges(const HalfedgeListGraph& g);
This is the case for implementations only marking halfedges deleted in the halfedge container.
*/
template <typename HalfedgeListGraph>
boost::graph_traits<HalfedgeListGraph>::halfedge_size_type
boost::graph_traits<HalfedgeListGraph>::halfedges_size_type
num_halfedges(const HalfedgeListGraph& g);

0 comments on commit 47263d3

Please sign in to comment.