silence compiler warnings and avoid infinite recursion in aspherical pair styles

This commit is contained in:
Axel Kohlmeyer
2022-02-11 21:06:16 -05:00
parent 81587527fe
commit a17bdf5652
9 changed files with 23 additions and 39 deletions

View File

@ -248,7 +248,7 @@ double AnswerT::energy_virial(double *eatom, double **vatom,
return energy_virial(eatom,vatom,virial);
double evdwl=0.0;
int ii, vstart=0, iend=_ev_stride;
int vstart=0, iend=_ev_stride;
if (_eflag) {
iend=_ev_stride*2;
#if (LAL_USE_OMP_SIMD == 1)