make the flag bool atomic
parent
7a10a10196
commit
593e02b6ff
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.25)
|
||||
project(blt-gp VERSION 0.0.119)
|
||||
project(blt-gp VERSION 0.0.120)
|
||||
|
||||
include(CTest)
|
||||
|
||||
|
|
|
@ -541,7 +541,7 @@ namespace blt::gp
|
|||
population_stats current_stats{};
|
||||
population_t next_pop;
|
||||
std::atomic_uint64_t current_generation = 0;
|
||||
bool fitness_should_exit = false;
|
||||
std::atomic_bool fitness_should_exit = false;
|
||||
|
||||
blt::u64 seed;
|
||||
prog_config_t config{};
|
||||
|
|
Loading…
Reference in New Issue