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
42bffcd4
Commit
42bffcd4
authored
Apr 01, 2010
by
Tiago Peixoto
Browse files
Fix bug in predecessor_tree()
This fixes a bug where edges were left unindexed.
parent
169265f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/generation/graph_predecessor.cc
View file @
42bffcd4
...
@@ -30,4 +30,5 @@ void predecessor_graph(GraphInterface& gi, GraphInterface& gpi,
...
@@ -30,4 +30,5 @@ void predecessor_graph(GraphInterface& gi, GraphInterface& gpi,
gi
.
GetVertexIndex
(),
ref
(
gpi
.
GetGraph
()),
gi
.
GetVertexIndex
(),
ref
(
gpi
.
GetGraph
()),
_2
),
_2
),
vertex_scalar_properties
())(
pred_map
);
vertex_scalar_properties
())(
pred_map
);
gpi
.
ReIndexEdges
();
}
}
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