pointer and style issues

This commit is contained in:
jrgissing
2021-01-31 14:59:10 -05:00
parent 2ee6e8f582
commit b92adfaf6f
6 changed files with 58 additions and 44 deletions

View File

@ -4540,19 +4540,19 @@ int Variable::labelmap_function(char *word, char *contents, Tree **tree,
std::string typestr = contents;
if (strcmp(word,"label") == 0) {
value = atom->find_label(typestr,atom->ATOM);
value = atom->find_label(typestr,Atom::ATOM);
} else if (strcmp(word,"blabel") == 0) {
value = atom->find_label(typestr,atom->BOND);
value = atom->find_label(typestr,Atom::BOND);
} else if (strcmp(word,"alabel") == 0) {
value = atom->find_label(typestr,atom->ANGLE);
value = atom->find_label(typestr,Atom::ANGLE);
} else if (strcmp(word,"dlabel") == 0) {
value = atom->find_label(typestr,atom->DIHEDRAL);
value = atom->find_label(typestr,Atom::DIHEDRAL);
} else if (strcmp(word,"ilabel") == 0) {
value = atom->find_label(typestr,atom->IMPROPER);
value = atom->find_label(typestr,Atom::IMPROPER);
}
if (value == -1)