From 4b2b9e14d9150b689317579a65ac988ab86d0896 Mon Sep 17 00:00:00 2001
From: Giovanni Bussi <giovanni.bussi@gmail.com>
Date: Mon, 29 Jul 2019 09:03:36 +0200
Subject: [PATCH] fixed LGTM warning

cc: @hanatok
---
 src/drr/colvar_UIestimator.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/drr/colvar_UIestimator.h b/src/drr/colvar_UIestimator.h
index 3ca4a04ac..bbc74a0b1 100644
--- a/src/drr/colvar_UIestimator.h
+++ b/src/drr/colvar_UIestimator.h
@@ -191,7 +191,7 @@ public:
     temp.resize(dimension);
   }
 
-  const T inline get_value(const std::vector<double> & x)
+  T inline get_value(const std::vector<double> & x)
   {
     return vector[convert_x(x)];
   }
-- 
GitLab