Skip to content

Commit d106d7e

Browse files
committed
removed annoying messages
1 parent 105b1e0 commit d106d7e

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

algorithms/partitioner/partition_strategy.cpp

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,10 @@ void PartitionStrategyDistributive::operator()(const SBG::LIB::Set& node_to_be_a
195195

196196
Set temp_node = SET_FACT.createSet();
197197
tie(temp_node, remaining_nodes) = cut_interval_by_dimension(remaining_nodes, NodeWeight(), size_by_partition[i]);
198-
// #if DEBUG_PARTITION_STRATEGY_ENABLED
199-
cout << "About to add " << temp_node << " to " << i << ", remaining: " << remaining_nodes << endl;
200-
// #endif
201-
for_each(temp_node.begin(), temp_node.end(), [&p](const auto& set_piece) {
202-
cout << "here we are " << set_piece << endl;
203-
p.insert(SET_FACT.createSet(set_piece));
204-
});
198+
#if DEBUG_PARTITION_STRATEGY_ENABLED
199+
logging::sbg_log << "About to add " << temp_node << " to " << i << ", remaining: " << remaining_nodes << endl;
200+
#endif
201+
for_each(temp_node.begin(), temp_node.end(), [&p](const auto& set_piece) { p.insert(SET_FACT.createSet(set_piece)); });
205202
_current_size_by_partition[i] += get_node_size(temp_node, _node_weight);
206203
}
207204
}

0 commit comments

Comments
 (0)