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
d30675c4
Commit
d30675c4
authored
Nov 01, 2016
by
Tiago Peixoto
Browse files
blockmodel: Set edge hash max load factor to .3
parent
13d1258a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph/inference/graph_blockmodel_util.hh
View file @
d30675c4
...
...
@@ -908,6 +908,8 @@ public:
{
_hash
.
clear
();
_hash
.
resize
(
num_vertices
(
bg
),
ehash_t
(
0
,
_hash_function
));
for
(
auto
&
h
:
_hash
)
h
.
max_load_factor
(
.3
);
for
(
auto
e
:
edges_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