Skip to content

Commit 5a4f1c9

Browse files
committed
todo
1 parent 45ee752 commit 5a4f1c9

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

include/lib_helper_functions.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ mt_kahypar_hypergraph_t create_hypergraph_from_adjacency_array(const Context& co
353353
edge_vector[he][i] = hyperedges[hyperedge_indices[he] + i];
354354
}
355355

356+
// TODO: this might not be free, should we allow to disable it?
356357
utils::deduplicateHyperedgePins(edge_vector[he], num_duplicated_pins, num_hes_with_duplicated_pins);
357358
});
358359

mt-kahypar/datastructures/static_hypergraph.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,7 @@ namespace mt_kahypar::ds {
584584

585585
// ! Computes the total node weight of the hypergraph
586586
void StaticHypergraph::computeAndSetTotalNodeWeight(parallel_tag_t) {
587+
// TODO: catch overflow?
587588
_total_weight = tbb::parallel_reduce(tbb::blocked_range<HypernodeID>(ID(0), _num_hypernodes), 0,
588589
[this](const tbb::blocked_range<HypernodeID>& range, HypernodeWeight init) {
589590
HypernodeWeight weight = init;

0 commit comments

Comments
 (0)