From 859f1c9dba089e4a96bf667d676544cfeaea38bd Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 13 Aug 2024 13:40:27 -0400 Subject: [PATCH] silly --- CMakeLists.txt | 2 +- src/custom_transformer.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fa2ebb..a97ff82 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(image-gp-6 VERSION 0.0.39) +project(image-gp-6 VERSION 0.0.40) include(FetchContent) diff --git a/src/custom_transformer.cpp b/src/custom_transformer.cpp index 245aefe..b70098a 100644 --- a/src/custom_transformer.cpp +++ b/src/custom_transformer.cpp @@ -376,7 +376,9 @@ namespace blt::gp break; case mutation_operator::JUMP_FUNC: { - + c.print(program, std::cout, false, true); + auto parent = c.find_parent(program, static_cast(c_node)); + BLT_TRACE_STREAM << "Found Parent: " << *program.get_name(ops[parent].id) << " for child " << *program.get_name(ops[c_node].id) << "\n"; }break; case mutation_operator::COPY: break;