Skip to content

Commit

Permalink
Merge pull request #93 from MengLiuPurdue/master
Browse files Browse the repository at this point in the history
fix bug in MQI_weighted
  • Loading branch information
kfoynt committed Mar 30, 2019
2 parents 579f5ec + 41d0be7 commit d2a1022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion localgraphclustering/src/lib/MQI_weighted.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void graph<vtype,itype>::build_map_weighted(unordered_map<vtype, vtype>& R_map,

template<typename vtype, typename itype>
void graph<vtype,itype>::build_list_weighted(unordered_map<vtype, vtype>& R_map, unordered_map<vtype, vtype>& degree_map,
vtype src, vtype dest, itype A, itype C, double* degrees)
vtype src, vtype dest, double A, double C, double* degrees)
{
// replacing edge weight connecting two nodes on side A with A*deg
for(auto R_iter = R_map.begin(); R_iter != R_map.end(); ++R_iter){
Expand Down
2 changes: 1 addition & 1 deletion localgraphclustering/src/lib/include/routines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class graph{
void build_map_weighted(unordered_map<vtype, vtype>& R_map,unordered_map<vtype, vtype>& degree_map,
vtype* R, vtype nR, double* degrees);
void build_list_weighted(unordered_map<vtype, vtype>& R_map, unordered_map<vtype, vtype>& degree_map, vtype src, vtype dest,
itype a, itype c, double* degrees);
double a, double c, double* degrees);


//functions in proxl1PRaccel.cpp
Expand Down

0 comments on commit d2a1022

Please sign in to comment.