More robust change from initial to target restraint centers in Colvars

This commit is contained in:
Giacomo Fiorin
2017-08-10 09:22:53 -04:00
parent 7f437d7690
commit da01be7c18
18 changed files with 217 additions and 113 deletions

View File

@ -175,7 +175,11 @@ public:
static std::vector<feature *> cvb_features;
/// \brief Implementation of the feature list accessor for colvarbias
virtual std::vector<feature *> &features()
virtual const std::vector<feature *> &features()
{
return cvb_features;
}
virtual std::vector<feature *> &modify_features()
{
return cvb_features;
}