Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
4912769e
Commit
4912769e
authored
Apr 16, 2014
by
Tiago Peixoto
Browse files
Fix conversion bug in boost::edge() for reversed graphs
parent
38d63b74
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/boost-workaround/boost/graph/reverse_graph_alt.hpp
View file @
4912769e
...
...
@@ -233,7 +233,9 @@ edge(const typename graph_traits<BidirectionalGraph>::vertex_descriptor u,
const
typename
graph_traits
<
BidirectionalGraph
>::
vertex_descriptor
v
,
const
reverse_graph
<
BidirectionalGraph
,
GRef
>&
g
)
{
return
edge
(
v
,
u
,
g
.
m_g
);
typedef
typename
reverse_graph
<
BidirectionalGraph
>::
edge_descriptor
e_t
;
auto
e
=
edge
(
v
,
u
,
g
.
m_g
);
return
make_pair
(
e_t
(
e
.
first
),
e
.
second
);
}
template
<
class
BidirectionalGraph
,
class
GRef
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment