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 d0ade5c commit 6e72581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mt-kahypar/partition/coarsening/multilevel_coarsener.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ class MultilevelCoarsener : public ICoarsener,
// Perform parallel contraction
_uncoarseningData.performMultilevelContraction(std::move(cluster_ids), true /* deterministic */, round_start);
Hypergraph& chg = Base::currentHypergraph();
if(chg.initialNumNodes() == current_hg.initialNumNodes()) std::cout << 1/0 << "\n";
//if(chg.initialNumNodes() == current_hg.initialNumNodes()) std::cout << 1/0 << "\n";
std::vector<HypernodeWeight> tmp(chg.initialNumNodes(), 0);
for(int i = 0; i < cluster_ids.size(); i++){
//if(cluster_ids[i] != ctmp[i]) std::cout << 1/0 << "\n";
if(cluster_ids[i] != ctmp[i]) std::cout << 1/0 << "\n";
tmp[cluster_ids[i]] += current_hg.nodeWeight(i);
}
for(int i = 0; i < tmp.size(); i++){
Expand Down

0 comments on commit 6e72581

Please sign in to comment.