update colvars library to produce no more warnings with g++ -Wall

This commit is contained in:
Axel Kohlmeyer
2014-05-08 17:17:06 -04:00
parent 55365522a9
commit b38cb2573e
8 changed files with 26 additions and 21 deletions

View File

@ -121,8 +121,8 @@ std::ostream & colvarbias::write_traj (std::ostream &os)
colvarbias_harmonic::colvarbias_harmonic (std::string const &conf,
char const *key)
: colvarbias (conf, key),
target_nsteps (0),
target_nstages (0)
target_nstages (0),
target_nsteps (0)
{
get_keyval (conf, "forceConstant", force_k, 1.0);
for (size_t i = 0; i < colvars.size(); i++) {