Skip to content

Commit 2bde9e9

Browse files
committed
update
1 parent b59be37 commit 2bde9e9

File tree

1 file changed

+1
-1
lines changed
  • include/osp/bsp/scheduler/LocalSearch/KernighanLin_v2

1 file changed

+1
-1
lines changed

include/osp/bsp/scheduler/LocalSearch/KernighanLin_v2/kl_util.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ struct adaptive_affinity_table {
196196

197197
if (insert_location >= selected_nodes.size()) {
198198
const size_t old_size = selected_nodes.size();
199-
const size_t new_size = std::min(old_size * 2, graph->num_vertices());
199+
const size_t new_size = std::min(old_size * 2, static_cast<size_t>(graph->num_vertices()));
200200

201201
selected_nodes.resize(new_size);
202202
affinity_table.resize(new_size);

0 commit comments

Comments
 (0)