silly
parent
b6d249b23e
commit
05ce4d8fab
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
cmake_minimum_required(VERSION 3.25)
|
||||||
project(blt-gp VERSION 0.0.65)
|
project(blt-gp VERSION 0.0.66)
|
||||||
|
|
||||||
include(CTest)
|
include(CTest)
|
||||||
|
|
||||||
|
|
|
@ -310,6 +310,10 @@ namespace blt::gp
|
||||||
std::memory_order::memory_order_release,
|
std::memory_order::memory_order_release,
|
||||||
std::memory_order::memory_order_acquire));
|
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++)
|
for (blt::size_t i = begin; i < end; i++)
|
||||||
{
|
{
|
||||||
auto& ind = current_pop.get_individuals()[i];
|
auto& ind = current_pop.get_individuals()[i];
|
||||||
|
|
Loading…
Reference in New Issue