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 2be2c7f commit 4a03f67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mt-kahypar/partition/coarsening/multilevel_coarsener.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ class MultilevelCoarsener : public ICoarsener,
Hypergraph& chg = Base::currentHypergraph();
//if(chg.initialNumNodes() == current_hg.initialNumNodes()) std::cout << 1/0 << "\n";
std::vector<HypernodeWeight> tmp(chg.initialNumNodes(), 0);
for(HypernodeID hn : current_hg.nodes()){
if(current_hg.nodeWeight[hn].weights[1] == 0) std::cout << 1/0;
}
for(int i = 0; i < cluster_ids.size(); 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 4a03f67

Please sign in to comment.