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
81e7ad4c
Commit
81e7ad4c
authored
Feb 06, 2022
by
Tiago Peixoto
Browse files
blockmodel: edge count amend
parent
c46c6ae6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/inference/blockmodel/graph_blockmodel.hh
View file @
81e7ad4c
...
...
@@ -2132,9 +2132,6 @@ public:
void
init_partition_stats
()
{
reset_partition_stats
();
size_t
E
=
0
;
for
(
auto
e
:
edges_range
(
_g
))
E
+=
_eweight
[
e
];
size_t
B
=
num_vertices
(
_bg
);
// Clang 8.0 fails to correctly recognize these as ForwardIterators,
...
...
@@ -2160,7 +2157,7 @@ public:
}
for
(
size_t
c
=
0
;
c
<
C
;
++
c
)
_partition_stats
.
emplace_back
(
_g
,
_b
,
vcs
[
c
],
E
,
B
,
_partition_stats
.
emplace_back
(
_g
,
_b
,
vcs
[
c
],
_
E
,
B
,
_vweight
,
_eweight
,
_degs
);
for
(
auto
r
:
vertices_range
(
_bg
))
...
...
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