diff --git a/config/config.h.in b/config/config.h.in index 24ae281..e365b31 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -7,7 +7,7 @@ #define PROJECT_VERSION_MINOR @PROJECT_VERSION_MINOR @ #define PROJECT_VERSION_PATCH @PROJECT_VERSION_PATCH @ -static constexpr std::string_view project_name = "@PROJECT_NAME@"; -static constexpr std::string_view project_version = "@PROJECT_VERSION@"; -static constexpr std::string_view project_description = "@PROJECT_DESCRIPTION@"; -static constexpr std::string_view git_sha = "@GIT_SHA@"; \ No newline at end of file +static constexpr std::string_view project_mdlp_name = "@PROJECT_NAME@"; +static constexpr std::string_view project_mdlp_version = "@PROJECT_VERSION@"; +static constexpr std::string_view project_mdlp_description = "@PROJECT_DESCRIPTION@"; +static constexpr std::string_view git_mdlp_sha = "@GIT_SHA@"; \ No newline at end of file diff --git a/src/Discretizer.h b/src/Discretizer.h index 27647f1..16fccb7 100644 --- a/src/Discretizer.h +++ b/src/Discretizer.h @@ -30,7 +30,7 @@ namespace mdlp { void fit_t(const torch::Tensor& X_, const torch::Tensor& y_); torch::Tensor transform_t(const torch::Tensor& X_); torch::Tensor fit_transform_t(const torch::Tensor& X_, const torch::Tensor& y_); - static inline std::string version() { return { project_version.begin(), project_version.end() };; }; + static inline std::string version() { return { project_mdlp_version.begin(), project_mdlp_version.end() };; }; protected: labels_t discretizedData = labels_t(); cutPoints_t cutPoints; // At least two cutpoints must be provided, the first and the last will be ignored in transform