silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2020-08-29 18:32:21 -04:00
parent 741a1d1fc9
commit 27b4e93bf5
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ void ReaderNative::read_atoms(int n, int nfield, double **fields)
// tokenize the line
std::vector<std::string> words = Tokenizer(line).as_vector();
if (words.size() < nwords) error->one(FLERR,"Insufficient columns in dump file");
if ((int)words.size() < nwords) error->one(FLERR,"Insufficient columns in dump file");
// convert selected fields to floats