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
43
Issues
43
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
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
bfd0999e
Commit
bfd0999e
authored
Dec 09, 2020
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
assortativity(): fix bug for non-integer weighted graphs
parent
a10237b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/graph/correlations/graph_assortativity.hh
src/graph/correlations/graph_assortativity.hh
+1
-1
No files found.
src/graph/correlations/graph_assortativity.hh
View file @
bfd0999e
...
...
@@ -46,7 +46,7 @@ struct get_assortativity_coefficient
wval_t
e_kk
=
0
;
typedef
typename
DegreeSelector
::
value_type
val_t
;
typedef
gt_hash_map
<
val_t
,
size
_t
>
map_t
;
typedef
gt_hash_map
<
val_t
,
wval
_t
>
map_t
;
map_t
a
,
b
;
SharedMap
<
map_t
>
sa
(
a
),
sb
(
b
);
...
...
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