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

@ -472,7 +472,7 @@ int colvarscript::proc_features(colvardeps *obj,
}
if ((subcmd == "get") || (subcmd == "set")) {
std::vector<colvardeps::feature *> &features = obj->features();
std::vector<colvardeps::feature *> const &features = obj->features();
std::string const req_feature(obj_to_str(objv[3]));
colvardeps::feature *f = NULL;
int fid = 0;