Commit bfd0999e authored by Tiago Peixoto's avatar Tiago Peixoto

assortativity(): fix bug for non-integer weighted graphs

parent a10237b9
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment