From 9acbc45c0ce1e26039c9865fcf14d939b69e330c Mon Sep 17 00:00:00 2001 From: gAldeia Date: Wed, 18 Dec 2024 08:44:15 -0300 Subject: [PATCH] Fixed missing include in bindings --- src/bindings/bind_engines.h | 3 +++ src/bindings/module.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bindings/bind_engines.h b/src/bindings/bind_engines.h index 480c48bc..a9e9049e 100644 --- a/src/bindings/bind_engines.h +++ b/src/bindings/bind_engines.h @@ -35,6 +35,9 @@ #include "../pop/archive.cpp" #include "../pop/archive.h" +#include "../simplification/constants.cpp" +#include "../simplification/constants.h" + using Reg = Brush::RegressorEngine; using Cls = Brush::ClassifierEngine; using Rep = Brush::RepresenterEngine; diff --git a/src/bindings/module.cpp b/src/bindings/module.cpp index 2b185c8f..e117ee77 100644 --- a/src/bindings/module.cpp +++ b/src/bindings/module.cpp @@ -35,7 +35,7 @@ PYBIND11_MODULE(_brush, m) { #ifdef VERSION_INFO m.attr("__version__") = MACRO_STRINGIFY(VERSION_INFO); #else - m.attr("__version__") = "dev"; // TODO: uve version file + m.attr("__version__") = "dev"; // TODO: use version file #endif // data structures bind_params(m);