Skip to content

Commit

Permalink
Small cppcheck fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanniBussi committed Apr 27, 2023
1 parent 25bd964 commit 97cf096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/isdb/EMMI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class EMMI :
// calculate model GMM weights and covariances
std::vector<double> get_GMM_m(std::vector<AtomNumber> &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
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 97cf096

Please sign in to comment.