make the flag bool atomic

thread
Brett 2024-08-06 03:51:49 -04:00
parent 7a10a10196
commit 593e02b6ff
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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{};