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
07f568f7
Commit
07f568f7
authored
May 20, 2010
by
Tiago Peixoto
Browse files
Fix edge indexing bug in condensation_graph()
Edges were not properly indexed after graph generation.
parent
9c5e0b16
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/graph/community/graph_community_network.cc
View file @
07f568f7
...
...
@@ -74,4 +74,5 @@ void community_network(GraphInterface& gi, GraphInterface& cgi,
vertex_properties
(),
weight_properties
(),
ecount_properties
())
(
community_property
,
weight
,
edge_count
);
cgi
.
ReIndexEdges
();
}
src/graph/community/graph_community_network.hh
View file @
07f568f7
...
...
@@ -73,7 +73,6 @@ struct get_community_network
for
(
typeof
(
comms
.
begin
())
iter
=
comms
.
begin
();
iter
!=
comms
.
end
();
++
iter
)
{
cvertex_t
cs
=
comm_vertices
[
iter
->
first
];
for
(
size_t
i
=
0
;
i
<
iter
->
second
.
size
();
++
i
)
{
...
...
Write
Preview
Supports
Markdown
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