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
dfe6ee99
Commit
dfe6ee99
authored
Jul 08, 2020
by
Tiago Peixoto
Browse files
graph_clustering.hh: fix jackknife variance
parent
43853fdb
Pipeline
#668
passed with stage
in 135 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/graph/clustering/graph_clustering.hh
View file @
dfe6ee99
...
@@ -109,6 +109,7 @@ struct get_global_clustering
...
@@ -109,6 +109,7 @@ struct get_global_clustering
auto
temp
=
get_triangles
(
v
,
eweight
,
mask
,
g
);
auto
temp
=
get_triangles
(
v
,
eweight
,
mask
,
g
);
triangles
+=
temp
.
first
;
triangles
+=
temp
.
first
;
n
+=
temp
.
second
;
n
+=
temp
.
second
;
ret
[
v
]
=
temp
;
});
});
c
=
double
(
triangles
)
/
n
;
c
=
double
(
triangles
)
/
n
;
...
...
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