From 97cf096456afed8ad5e4f571f472060bdb315dc0 Mon Sep 17 00:00:00 2001 From: Giovanni Bussi Date: Wed, 26 Apr 2023 16:39:41 +0200 Subject: [PATCH] Small cppcheck fix --- src/isdb/EMMI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/isdb/EMMI.cpp b/src/isdb/EMMI.cpp index bf64240334..e8e56fcdb2 100644 --- a/src/isdb/EMMI.cpp +++ b/src/isdb/EMMI.cpp @@ -230,7 +230,7 @@ class EMMI : // calculate model GMM weights and covariances std::vector get_GMM_m(std::vector &atoms); // read data GMM file - void get_GMM_d(std::string gmm_file); + void get_GMM_d(const std::string & gmm_file); // check GMM data void check_GMM_d(const VectorGeneric<6> &cov, double w); // auxiliary method @@ -1071,7 +1071,7 @@ void EMMI::check_GMM_d(const VectorGeneric<6> &cov, double w) } // read GMM data file in PLUMED format: -void EMMI::get_GMM_d(std::string GMM_file) +void EMMI::get_GMM_d(const std::string & GMM_file) { VectorGeneric<6> cov;