silence some more signedness warnings
This commit is contained in:
@ -37,7 +37,7 @@ void NeighListKokkos<DeviceType>::grow(int nmax)
|
||||
// skip if this list is already long enough to store nmax atoms
|
||||
// and maxneighs neighbors
|
||||
|
||||
if (nmax <= maxatoms && d_neighbors.extent(1) >= maxneighs) return;
|
||||
if (nmax <= maxatoms && (int)d_neighbors.extent(1) >= maxneighs) return;
|
||||
maxatoms = nmax;
|
||||
|
||||
k_ilist = DAT::tdual_int_1d("neighlist:ilist",maxatoms);
|
||||
|
||||
@ -1002,7 +1002,7 @@ void PairEAMFSKokkos<DeviceType>::read_file(char *filename)
|
||||
ValueTokenizer values = reader.next_values(1);
|
||||
file->nelements = values.next_int();
|
||||
|
||||
if (values.count() != file->nelements + 1)
|
||||
if ((int)values.count() != file->nelements + 1)
|
||||
error->one(FLERR,"Incorrect element names in EAM potential file");
|
||||
|
||||
file->elements = new char*[file->nelements];
|
||||
|
||||
Reference in New Issue
Block a user