Merge branch 'master' into write-bonus-data

This commit is contained in:
Axel Kohlmeyer
2020-07-15 15:20:34 -04:00
175 changed files with 6613 additions and 6613 deletions

View File

@ -657,7 +657,7 @@ AtomVec *Atom::new_avec(const std::string &style, int trysuffix, int &sflag)
sflag = 1;
std::string estyle = style + "/" + lmp->suffix;
if (avec_map->find(estyle) != avec_map->end()) {
AtomVecCreator avec_creator = (*avec_map)[estyle];
AtomVecCreator &avec_creator = (*avec_map)[estyle];
return avec_creator(lmp);
}
}
@ -666,7 +666,7 @@ AtomVec *Atom::new_avec(const std::string &style, int trysuffix, int &sflag)
sflag = 2;
std::string estyle = style + "/" + lmp->suffix2;
if (avec_map->find(estyle) != avec_map->end()) {
AtomVecCreator avec_creator = (*avec_map)[estyle];
AtomVecCreator &avec_creator = (*avec_map)[estyle];
return avec_creator(lmp);
}
}
@ -674,7 +674,7 @@ AtomVec *Atom::new_avec(const std::string &style, int trysuffix, int &sflag)
sflag = 0;
if (avec_map->find(style) != avec_map->end()) {
AtomVecCreator avec_creator = (*avec_map)[style];
AtomVecCreator &avec_creator = (*avec_map)[style];
return avec_creator(lmp);
}