diff --git a/CMakeLists.txt b/CMakeLists.txt index 9dd4d02..0cae0bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(blt-gp VERSION 0.0.117) +project(blt-gp VERSION 0.0.118) include(CTest) diff --git a/include/blt/gp/transformers.h b/include/blt/gp/transformers.h index e418e73..60042cb 100644 --- a/include/blt/gp/transformers.h +++ b/include/blt/gp/transformers.h @@ -34,10 +34,6 @@ namespace blt::gp blt::ptrdiff_t find_endpoint(blt::gp::gp_program& program, const std::vector& container, blt::ptrdiff_t start); - void transfer_forward(blt::gp::stack_allocator& from, blt::gp::stack_allocator& to, detail::op_iter begin, detail::op_iter end); - - void transfer_backward(blt::gp::stack_allocator& from, blt::gp::stack_allocator& to, detail::op_iter begin, detail::op_iter end); - class crossover_t { public: diff --git a/lib/blt b/lib/blt index 8535480..f993869 160000 --- a/lib/blt +++ b/lib/blt @@ -1 +1 @@ -Subproject commit 8535480ad57553e592640b98e9e005d7a4d27501 +Subproject commit f9938691ecb13b7b6acb2402235015bef9d58982 diff --git a/src/transformers.cpp b/src/transformers.cpp index 3b8a96b..d923929 100644 --- a/src/transformers.cpp +++ b/src/transformers.cpp @@ -304,23 +304,4 @@ namespace blt::gp return index; } - - void transfer_backward(stack_allocator& from, stack_allocator& to, detail::op_iter begin, detail::op_iter end) - { - for (auto it = begin; it != end; it--) - { - if (it->is_value) - from.transfer_bytes(to, it->type_size); - } - } - - void transfer_forward(stack_allocator& from, stack_allocator& to, detail::op_iter begin, detail::op_iter end) - { - // now copy back into the respective children - for (auto it = begin; it != end; it++) - { - if (it->is_value) - from.transfer_bytes(to, it->type_size); - } - } } \ No newline at end of file