silence compiler warnings
This commit is contained in:
@ -773,7 +773,7 @@ void Molecule::fragments(char *line)
|
|||||||
|
|
||||||
ValueTokenizer values(line);
|
ValueTokenizer values(line);
|
||||||
|
|
||||||
if (values.count() > natoms+1)
|
if ((int)values.count() > natoms+1)
|
||||||
error->one(FLERR,"Invalid atom ID in Fragments section of molecule file");
|
error->one(FLERR,"Invalid atom ID in Fragments section of molecule file");
|
||||||
|
|
||||||
fragmentnames[i] = values.next_string();
|
fragmentnames[i] = values.next_string();
|
||||||
|
|||||||
@ -320,7 +320,7 @@ void ReaderNative::read_atoms(int n, int nfield, double **fields)
|
|||||||
// tokenize the line
|
// tokenize the line
|
||||||
std::vector<std::string> words = Tokenizer(line).as_vector();
|
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
|
// convert selected fields to floats
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user