diff --git a/CMakeLists.txt b/CMakeLists.txt index 61d8656..4bdb84e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(image-gp-6 VERSION 0.0.15) +project(image-gp-6 VERSION 0.0.16) include(FetchContent) diff --git a/include/float_operations.h b/include/float_operations.h index 0e7a534..b595f32 100644 --- a/include/float_operations.h +++ b/include/float_operations.h @@ -25,16 +25,16 @@ inline blt::gp::operation_t f_add([](float a, float b) { return a + b; -}, "add"); +}, "f_add"); inline blt::gp::operation_t f_sub([](float a, float b) { return a - b; -}, "sub"); +}, "f_sub"); inline blt::gp::operation_t f_mul([](float a, float b) { return a * b; -}, "mul"); +}, "f_mul"); inline blt::gp::operation_t f_pro_div([](float a, float b) { return b == 0.0f ? 0.0f : (a / b); -}, "div"); +}, "f_div"); inline blt::gp::operation_t f_literal([]() { return program.get_random().get_float(0.0, 1.0); }, "float_lit");