From a1b43bee51ab138ee39aebdcc338de4545867833 Mon Sep 17 00:00:00 2001 From: Brett Date: Wed, 4 Sep 2024 21:21:04 -0400 Subject: [PATCH] revert changes? --- CMakeLists.txt | 2 +- include/blt/gp/program.h | 1 - include/blt/gp/stack.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 31606b0..d8de23b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(blt-gp VERSION 0.1.49) +project(blt-gp VERSION 0.1.50) include(CTest) diff --git a/include/blt/gp/program.h b/include/blt/gp/program.h index ad2af8c..fca001d 100644 --- a/include/blt/gp/program.h +++ b/include/blt/gp/program.h @@ -128,7 +128,6 @@ namespace blt::gp // largest = largest * largest_argc; blt::size_t largest = largest_args * largest_argc * largest_returns * largest_argc; - BLT_TRACE(largest); storage.eval_func = [&operators..., largest](const tree_t& tree, void* context) -> evaluation_context& { const auto& ops = tree.get_operations(); diff --git a/include/blt/gp/stack.h b/include/blt/gp/stack.h index 19e8489..4a883ab 100644 --- a/include/blt/gp/stack.h +++ b/include/blt/gp/stack.h @@ -49,7 +49,7 @@ namespace blt::gp constexpr static blt::size_t MAX_ALIGNMENT = 8; template using NO_REF_T = std::remove_cv_t>; - using Allocator = variable_bump_allocator<>; + using Allocator = aligned_allocator; public: static Allocator& get_allocator();