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

1 comment on commit 97cf096

@PlumedBot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found broken examples in automatic/a-masterclass-22-09.txt
Found broken examples in automatic/a-masterclass-22-11.txt
Found broken examples in automatic/a-masterclass-22-12.txt
Found broken examples in automatic/performance-optimization.txt
Found broken examples in automatic/a-trieste-6.txt
Found broken examples in automatic/munster.txt
Found broken examples in automatic/ANN.tmp
Found broken examples in automatic/EDS.tmp
Found broken examples in automatic/EMMI.tmp
Found broken examples in automatic/ENVIRONMENTSIMILARITY.tmp
Found broken examples in automatic/FOURIER_TRANSFORM.tmp
Found broken examples in automatic/FUNCPATHGENERAL.tmp
Found broken examples in automatic/FUNCPATHMSD.tmp
Found broken examples in automatic/FUNNEL.tmp
Found broken examples in automatic/FUNNEL_PS.tmp
Found broken examples in automatic/GHBFIX.tmp
Found broken examples in automatic/INCLUDE.tmp
Found broken examples in automatic/MAZE_MEMETIC_SAMPLING.tmp
Found broken examples in automatic/MAZE_OPTIMIZER_BIAS.tmp
Found broken examples in automatic/MAZE_RANDOM_ACCELERATION_MD.tmp
Found broken examples in automatic/MAZE_RANDOM_WALK.tmp
Found broken examples in automatic/MAZE_SIMULATED_ANNEALING.tmp
Found broken examples in automatic/MAZE_STEERED_MD.tmp
Found broken examples in automatic/PIV.tmp
Found broken examples in automatic/PLUMED.tmp
Found broken examples in MiscelaneousPP.md

Please sign in to comment.