Modify

Opened 5 years ago

Closed 5 years ago

Last modified 2 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.

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Jeremiah Willcock

Resolution: fixed
Status: newclosed

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

comment:2 Changed 2 years ago by djh

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matias Capeletto.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.