From 9d53c180e98e5411fc4c30930bc4bb5a71ac46a5 Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 20 Jul 2024 21:35:02 -0400 Subject: [PATCH] silly --- CMakeLists.txt | 2 +- include/float_operations.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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");