From 29d8efe18f060c6de644ec1991b68a43707a3d72 Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 17 Apr 2025 02:20:33 -0400 Subject: [PATCH] fix --- CMakeLists.txt | 2 +- lib/blt | 2 +- tests/serialization_test.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e090d4..d63341f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ macro(compile_options target_name) sanitizers(${target_name}) endmacro() -project(blt-gp VERSION 0.5.7) +project(blt-gp VERSION 0.5.8) include(CTest) diff --git a/lib/blt b/lib/blt index 6cdfab3..90cf177 160000 --- a/lib/blt +++ b/lib/blt @@ -1 +1 @@ -Subproject commit 6cdfab39cfc1e10fe8fe7a34863963d01620bdb3 +Subproject commit 90cf177c57f542ecdd132eaa6af0f1945ce8fe96 diff --git a/tests/serialization_test.cpp b/tests/serialization_test.cpp index 9be2246..3512c56 100644 --- a/tests/serialization_test.cpp +++ b/tests/serialization_test.cpp @@ -66,7 +66,7 @@ bool fitness_function(const tree_t& current_tree, fitness_t& fitness, size_t) { BLT_GP_UPDATE_CONTEXT(fitness_case); auto val = current_tree.get_evaluation_ref(fitness_case); - const auto diff = std::abs(fitness_case.y - val.get().value()); + const auto diff = std::abs(fitness_case.y - val.get()); if (diff < value_cutoff) { fitness.raw_fitness += diff;