Skip to content

Commit

Permalink
fixed full level hierarchy readin
Browse files Browse the repository at this point in the history
  • Loading branch information
konpklr committed Jun 29, 2024
1 parent ea754d0 commit f4515a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mt-kahypar/partition/coarsening/multilevel_coarsener.h
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,9 @@ class MultilevelCoarsener : public ICoarsener,
for(HypernodeID hn : current_hg.nodes()){
//if(current_hg.nodeWeight(hn).weights[1] == 0) std::cout << 1/0;
}
std::cout << "c0: " << cluster_ids[0] << current_hg.nodeWeight(0).weights[0] << " " << current_hg.nodeWeight(0).weights[1] << "\n";
std::cout << "c0: \n"; /*current_hg.nodeWeight(0).weights[0] << " " << current_hg.nodeWeight(0).weights[1] << "\n";*/
for(int i = 0; i < cluster_ids.size(); i++){
std::cout << cluster_ids[i] << " ";
if(cluster_ids[i] != ctmp[i]) std::cout << 1/0 << "\n";
tmp[cluster_ids[i]] += current_hg.nodeWeight(i);
}
Expand Down

0 comments on commit f4515a1

Please sign in to comment.