From 6b6fc715201bce3eb866db15546162b240cf2c07 Mon Sep 17 00:00:00 2001
From: Thibault Hallouin <thibault.hallouin@inrae.fr>
Date: Mon, 19 Dec 2022 15:30:50 +0100
Subject: [PATCH] remove unnecessary const-ness

---
 include/evalhyd/evald.hpp | 2 +-
 src/determinist/evald.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/evalhyd/evald.hpp b/include/evalhyd/evald.hpp
index 45ff659..417f8be 100644
--- a/include/evalhyd/evald.hpp
+++ b/include/evalhyd/evald.hpp
@@ -142,7 +142,7 @@ namespace evalhyd
             const xt::xtensor<double, 2>& q_prd,
             const std::vector<std::string>& metrics,
             const std::string& transform = "none",
-            const double exponent = 1,
+            double exponent = 1,
             double epsilon = -9,
             const xt::xtensor<bool, 2>& t_msk = {},
             const xt::xtensor<std::array<char, 32>, 1>& m_cdt = {},
diff --git a/src/determinist/evald.cpp b/src/determinist/evald.cpp
index 0ce84b6..e6ec8db 100644
--- a/src/determinist/evald.cpp
+++ b/src/determinist/evald.cpp
@@ -23,7 +23,7 @@ namespace evalhyd
             const xt::xtensor<double, 2>& q_prd,
             const std::vector<std::string>& metrics,
             const std::string& transform,
-            const double exponent,
+            double exponent,
             double epsilon,
             const xt::xtensor<bool, 2>& t_msk,
             const xt::xtensor<std::array<char, 32>, 1>& m_cdt,
-- 
GitLab