Boost logo

Boost Users :

Subject: [Boost-users] [graph]-Minor errors in docs
From: Michael Fawcett (michael.fawcett_at_[hidden])
Date: 2008-10-14 16:24:41


At the bottom of this doc page:

http://www.boost.org/doc/libs/1_36_0/libs/graph/doc/graph_concepts.html#sec:undirected-graphs

There are numerous add_edge() calls that are incorrect, e.g.

add_edge(digraph, u, v, Weight(1.2));

>From what I can tell, these should be:

add_edge(u, v, Weight(1.2), digraph);

Now, I'm only using 1.35, but the 1.36 documentation for add_edge here:

http://www.boost.org/doc/libs/1_36_0/libs/graph/doc/adjacency_list.html

supports my guess.

Thanks,

--Michael Fawcett


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net