Replace Atom::count_words with utils::count_words

This commit is contained in:
Richard Berger
2020-05-15 16:18:24 -04:00
parent db46521d64
commit 4a2d3e95cb
56 changed files with 135 additions and 150 deletions

View File

@ -441,7 +441,7 @@ void NEBSpin::readfile(char *file, int flag)
buf = buffer;
next = strchr(buf,'\n');
*next = '\0';
int nwords = atom->count_words(buf);
int nwords = utils::count_words(buf);
*next = '\n';
if (nwords != ATTRIBUTE_PERLINE)