Skip to content
Snippets Groups Projects
Commit dd277dcc authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fix cppcheck

parent a2cb143a
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ PLUMED_COLVAR_INIT(ao), pbc(true)
// store target_ distance
vector <Vector> reference_positions;
unsigned natoms = atoms_.size();
log.printf("Read %d atoms\n",natoms);
log.printf("Read %u atoms\n",natoms);
reference_positions.resize(natoms);
for(unsigned i=0;i<natoms;i++){
......@@ -167,7 +167,7 @@ PLUMED_COLVAR_INIT(ao), pbc(true)
derivs.resize(natoms);
log.printf(" reference from file %s\n",reference.c_str());
log.printf(" which contains %d atoms\n",natoms);
log.printf(" which contains %u atoms\n",natoms);
}
......
......@@ -47,7 +47,7 @@ class ERMSD {
public:
/// Constructor
ERMSD(): natoms(0),nresidues(0) {}
ERMSD(): natoms(0),nresidues(0), cutoff(0.0) {}
/// clear the structure
void clear();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment