silence compiler warnings
This commit is contained in:
@ -252,7 +252,7 @@ int TersoffMT::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();
|
||||
success = success && (_zetaij.alloc(this->nbor->max_nbors()*_nmax,
|
||||
|
||||
Reference in New Issue
Block a user