diff --git a/regtest/basic/rt31/plumed.dat b/regtest/basic/rt31/plumed.dat index 3308cba87753f58c48fe406c3a151fc98fed7e8a..39f1c7fd00975e1af7839904ac77048d9599a923 100644 --- a/regtest/basic/rt31/plumed.dat +++ b/regtest/basic/rt31/plumed.dat @@ -1,4 +1,4 @@ TORSION ATOMS=2,5,6,7 LABEL=t1 TORSION ATOMS=5,6,7,9 LABEL=t2 PRINT ARG=t1,t2 STRIDE=1 FILE=colvar FMT=%8.4f -METAD ARG=t1,t2 SIGMA=0.01 ADAPTIVE=GEOM HEIGHT=1.0 PACE=10 LABEL=md FMT=%14.6f +METAD ARG=t1,t2 SIGMA=0.01 ADAPTIVE=GEOM HEIGHT=1.0 PACE=10 LABEL=bias FMT=%14.6f diff --git a/src/core/ActionWithValue.cpp b/src/core/ActionWithValue.cpp index 6178b09a412f496b03c2a3f3e4d64eb40780ed76..91e492ebb421bf46f9ffb3487449645a0eb473ac 100644 --- a/src/core/ActionWithValue.cpp +++ b/src/core/ActionWithValue.cpp @@ -132,7 +132,6 @@ void ActionWithValue::addComponentWithDerivatives( const std::string& name ){ int ActionWithValue::getComponent( const std::string& name ) const { plumed_massert( !exists( getLabel() ), "You should not be calling this routine if you are using a value"); - plumed_massert(name!=getLabel(),"You should never be calling this routine to retrieve the value"); std::string thename; thename=getLabel() + "." + name; for(unsigned i=0;i<values.size();++i){ if (values[i]->name==thename) return i;