transfer should be based on silly thing that does the thing (move or swap based on index vs size)
parent
b20cc2513a
commit
36fb9b86cc
|
@ -27,7 +27,7 @@ macro(compile_options target_name)
|
||||||
sanitizers(${target_name})
|
sanitizers(${target_name})
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
project(blt-gp VERSION 0.5.24)
|
project(blt-gp VERSION 0.5.25)
|
||||||
|
|
||||||
include(CTest)
|
include(CTest)
|
||||||
|
|
||||||
|
|
|
@ -173,8 +173,6 @@ namespace blt::gp
|
||||||
std::vector<reorder_index_t> p1_reorder_types;
|
std::vector<reorder_index_t> p1_reorder_types;
|
||||||
std::vector<reorder_index_t> p2_reorder_types;
|
std::vector<reorder_index_t> p2_reorder_types;
|
||||||
std::vector<swap_index_t> swap_types;
|
std::vector<swap_index_t> swap_types;
|
||||||
std::vector<swap_index_t> p1_to_p2_transfer_types;
|
|
||||||
std::vector<swap_index_t> p2_to_p1_transfer_types;
|
|
||||||
|
|
||||||
void print_missing_types()
|
void print_missing_types()
|
||||||
{
|
{
|
||||||
|
@ -236,8 +234,6 @@ namespace blt::gp
|
||||||
p1_reorder_types.clear();
|
p1_reorder_types.clear();
|
||||||
p2_reorder_types.clear();
|
p2_reorder_types.clear();
|
||||||
swap_types.clear();
|
swap_types.clear();
|
||||||
p1_to_p2_transfer_types.clear();
|
|
||||||
p2_to_p1_transfer_types.clear();
|
|
||||||
for (auto& [id, v] : missing_p1_types)
|
for (auto& [id, v] : missing_p1_types)
|
||||||
v.clear();
|
v.clear();
|
||||||
for (auto& [id, v] : missing_p2_types)
|
for (auto& [id, v] : missing_p2_types)
|
||||||
|
|
Loading…
Reference in New Issue