Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgottesbueren committed Sep 23, 2024
1 parent 37972e8 commit c7c362b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mt-kahypar/datastructures/connectivity_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ConnectivitySets {
if ( num_hyperedges > 0 ) {
_bits.resize("Refinement", "connectivity_set",
static_cast<size_t>(num_hyperedges) * _num_blocks_per_hyperedge
+ 1 // The nextBlockID() implementation performs a (masked out) load past the end
+ 1 /* The nextBlockID() implementation performs a (masked out) load past the end */
, true, assign_parallel);
}
}
Expand Down
3 changes: 2 additions & 1 deletion mt-kahypar/partition/coarsening/multilevel_uncoarsener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ namespace mt_kahypar {
void MultilevelUncoarsener<TypeTraits>::refineImpl() {
PartitionedHypergraph& partitioned_hypergraph = *_uncoarseningData.partitioned_hg;
double time_limit = std::numeric_limits<double>::max();
if (_current_level >= 0 && _current_level != _num_levels) { // there is a refinement run on the coarsest graph before projection, there is no value stored for this run.
if (_current_level >= 0 && _current_level != _num_levels) {
// there is a refinement run on the coarsest graph before projection. There is no value stored for this run, so we must avoid looking it up.
time_limit = Base::refinementTimeLimit(_context, (_uncoarseningData.hierarchy)[_current_level].coarseningTime());
}

Expand Down
10 changes: 5 additions & 5 deletions mt-kahypar/partition/mapping/target_graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,23 +300,23 @@ class TargetGraph {
}


HyperedgeWeight distance(const ds::Bitset& ) const {
HyperedgeWeight distance(const ds::Bitset&) const {
return 0;
}

HyperedgeWeight distance(const PartitionID , const PartitionID ) const {
HyperedgeWeight distance(const PartitionID, const PartitionID) const {
return 0;
}

HyperedgeWeight distanceWithBlock(ds::Bitset& , const PartitionID ) const {
HyperedgeWeight distanceWithBlock(ds::Bitset&, const PartitionID) const {
return 0;
}

HyperedgeWeight distanceWithoutBlock(ds::Bitset& , const PartitionID ) const {
HyperedgeWeight distanceWithoutBlock(ds::Bitset&, const PartitionID) const {
return 0;
}

HyperedgeWeight distanceAfterExchangingBlocks(ds::Bitset& , const PartitionID , const PartitionID ) const {
HyperedgeWeight distanceAfterExchangingBlocks(ds::Bitset&, const PartitionID, const PartitionID) const {
return 0;
}

Expand Down

0 comments on commit c7c362b

Please sign in to comment.