diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c0892a..ba76e40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(blt-gp VERSION 0.0.78) +project(blt-gp VERSION 0.0.79) include(CTest) diff --git a/include/blt/gp/program.h b/include/blt/gp/program.h index bcfb92d..4ba88fa 100644 --- a/include/blt/gp/program.h +++ b/include/blt/gp/program.h @@ -412,7 +412,7 @@ namespace blt::gp [[nodiscard]] bool should_thread_terminate() const { - return should_terminate() && thread_helper.lifetime_over; + return should_terminate() || thread_helper.lifetime_over; } [[nodiscard]] random_t& get_random() const;