Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
konpklr committed Jun 30, 2024
1 parent a8831d3 commit 3796f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mt-kahypar/partition/metrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ std::array<double, mt_kahypar::dimension> imbalance(const PartitionedHypergraph&
for(PartitionID p = 0; p < context.partition.k; p++){
if(!(hypergraph.partWeight(p) <= context.partition.max_part_weights[p])) ib = true;
}
if(!ib) max_balance[d] = std::min(max_balance[i], 0.03);
if(!ib) max_balance[d] = std::min(max_balance[d], 0.03);
}

return max_balance;
Expand Down

0 comments on commit 3796f5a

Please sign in to comment.