2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-31 20:22:09 +00:00

fixed typo in edge_less(), thanks Krishna!

[SVN r8216]
This commit is contained in:
Jeremy Siek
2000-11-15 15:01:26 +00:00
parent a34fb5b10e
commit 31f2bb360c

View File

@@ -61,7 +61,8 @@ namespace boost {
// Perhaps should just make a specialized functor to pass to set...
template <class Edge>
inline bool edge_less(const Edge& a, const Edge& b, undirected_tag) {
return !edge_equal(a, v) && edge_less(a,b,directed_tag());
return !edge_equal(a, b, undirected_tag())
&& edge_less(a, b, directed_tag());
}
template <class Directed, class Vertex>