silence compiler warnings
This commit is contained in:
@ -260,7 +260,7 @@ int TersoffT::loop(const int eflag, const int vflag, const int evatom,
|
||||
|
||||
// re-allocate zetaij if necessary
|
||||
int nall = this->_nall;
|
||||
if (nall*this->nbor->max_nbors() > _zetaij.cols()) {
|
||||
if (nall*this->nbor->max_nbors() > (int)_zetaij.cols()) {
|
||||
int _nmax=static_cast<int>(static_cast<double>(nall)*1.10);
|
||||
_zetaij.clear();
|
||||
_zetaij_eng.clear();
|
||||
|
||||
Reference in New Issue
Block a user