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
c592d964
Commit
c592d964
authored
Jul 16, 2015
by
Tiago Peixoto
Browse files
Fix bug in overlap_partition_stats_t
parent
41e8c3fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/community/graph_blockmodel_overlap.hh
View file @
c592d964
...
...
@@ -399,9 +399,10 @@ struct overlap_partition_stats_t
template
<
class
Graph
,
class
Vprop
,
class
Eprop
>
overlap_partition_stats_t
(
Graph
&
g
,
Vprop
b
,
overlap_stats_t
&
overlap_stats
,
Eprop
eweight
,
size_t
N
,
size_t
B
,
bool
edges_dl
)
:
_enabled
(
true
),
_N
(
N
),
_B
(
B
),
_D
(
0
),
_dhist
(
B
+
1
),
_r_count
(
B
),
_bvs
(
N
),
_nbvs
(
N
),
_degs
(
N
),
_ndegs
(
N
),
_deg_delta
(
B
),
_edges_dl
(
edges_dl
)
:
_enabled
(
true
),
_N
(
N
),
_B
(
B
),
_D
(
0
),
_dhist
(
B
+
1
),
_r_count
(
B
),
_bhist
(
N
),
_emhist
(
B
),
_ephist
(
B
),
_embhist
(
N
),
_epbhist
(
N
),
_deg_hist
(
N
),
_bvs
(
N
),
_nbvs
(
N
),
_degs
(
N
),
_ndegs
(
N
),
_deg_delta
(
B
),
_edges_dl
(
edges_dl
)
{
dmap_t
in_hist
,
out_hist
;
for
(
size_t
v
=
0
;
v
<
N
;
++
v
)
...
...
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