Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#7780 closed Bugs (fixed)

Typo in Push Relabel Max Flow Example

Reported by: q309185+boost@… Owned by: Matias Capeletto
Milestone: To Be Determined Component: Documentation
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

http://www.boost.org/doc/libs/1_52_0/libs/graph/doc/push_relabel_max_flow.html

In the example on the above page, on the fourth line it says

#include <boost/graph/push_relabel_map_flow.hpp>

it should instead say

#include <boost/graph/push_relabel_max_flow.hpp>

(map -> max)

Note that the file at http://www.boost.org/doc/libs/1_52_0/libs/graph/example/max_flow.cpp is correct.

Change History (2)

comment:1 by Jeremiah Willcock, 10 years ago

Resolution: fixed
Status: newclosed

(In [81822]) Fixed typo; fixes #7780

comment:2 by djh, 7 years ago

There is a similar problem the documentation, at the top it says:

Where Defined

boost/graph/preflow_push_max_flow.hpp

but the header in which it is defined is actually

boost/graph/push_relabel_max_flow.hpp
Note: See TracTickets for help on using tickets.