Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
40
Issues
40
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
c592d964
Commit
c592d964
authored
Jul 16, 2015
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug in overlap_partition_stats_t
parent
41e8c3fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/graph/community/graph_blockmodel_overlap.hh
src/graph/community/graph_blockmodel_overlap.hh
+4
-3
No files found.
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
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