silence compiler warnings
This commit is contained in:
@ -64,11 +64,6 @@ enum{ISO,ANISO,TRICLINIC};
|
||||
|
||||
const int NUM_INPUT_DATA_COLUMNS = 2; // columns in the pressure correction file
|
||||
|
||||
// NB:
|
||||
// - Keep error and warning messages less than 255 chars long.
|
||||
// - Allocate your char buffer to be 1 char longer than this
|
||||
const int MAX_MESSAGE_LENGTH = 255;
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
NVT,NPH,NPT integrators for improved Nose-Hoover equations of motion
|
||||
---------------------------------------------------------------------- */
|
||||
|
||||
@ -1353,7 +1353,7 @@ PrincipalEigen(ConstMatrix matrix,
|
||||
Scalar eval;
|
||||
|
||||
// This line does all of the hard work:
|
||||
size_t itern = ll_engine.run(eval, evec);
|
||||
ll_engine.run(eval, evec);
|
||||
|
||||
for (int i = 0; i < n; i++)
|
||||
eigenvector[i] = evec[i];
|
||||
|
||||
@ -802,7 +802,7 @@ void Molecule::charges(char *line)
|
||||
readline(line);
|
||||
|
||||
ValueTokenizer values(line);
|
||||
if (values.count() != 2) error->one(FLERR,"Invalid Charges section in molecule file");
|
||||
if ((int)values.count() != 2) error->one(FLERR,"Invalid Charges section in molecule file");
|
||||
|
||||
values.next_int();
|
||||
q[i] = values.next_double();
|
||||
|
||||
Reference in New Issue
Block a user