reduce compiler warnings

This commit is contained in:
Axel Kohlmeyer
2019-08-09 16:00:02 -04:00
parent 42239bf480
commit fa6cf0fa8f

View File

@ -453,8 +453,8 @@ void PairCosineSquared::compute(int eflag, int vflag)
it is called only if rsq < cutsq[itype][jtype], no need to check that
------------------------------------------------------------------------- */
double PairCosineSquared::single(int i, int j, int itype, int jtype, double rsq,
double factor_coul, double factor_lj,
double PairCosineSquared::single(int /* i */, int /* j */, int itype, int jtype, double rsq,
double /* factor_coul */, double factor_lj,
double &fforce)
{
double r, r2inv, r6inv, cosone, force, energy;