thread
Brett 2024-07-12 18:35:32 -04:00
parent b6d249b23e
commit 05ce4d8fab
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.25)
project(blt-gp VERSION 0.0.65)
project(blt-gp VERSION 0.0.66)
include(CTest)

View File

@ -310,6 +310,10 @@ namespace blt::gp
std::memory_order::memory_order_release,
std::memory_order::memory_order_acquire));
auto old_begin = begin;
begin = config.population_size - end;
end = config.population_size - old_begin;
for (blt::size_t i = begin; i < end; i++)
{
auto& ind = current_pop.get_individuals()[i];