diff --git a/src/KSPACE/pair_lj_cut_coul_long_tip4p.cpp b/src/KSPACE/pair_lj_cut_coul_long_tip4p.cpp index 6b4808f2d1..9b84a6c0f8 100644 --- a/src/KSPACE/pair_lj_cut_coul_long_tip4p.cpp +++ b/src/KSPACE/pair_lj_cut_coul_long_tip4p.cpp @@ -77,7 +77,6 @@ void PairLJCutCoulLongTIP4P::compute(int eflag, int vflag) double r,r2inv,r6inv,forcecoul,forcelj,cforce,negforce; double factor_coul,factor_lj; double grij,expm2,prefactor,t,erfc; - double philj; int iH1,iH2,jH1,jH2; double xiM[3],xjM[3]; double *x1,*x2; @@ -179,7 +178,7 @@ void PairLJCutCoulLongTIP4P::compute(int eflag, int vflag) if (eflag) { evdwl = r6inv*(lj3[itype][jtype]*r6inv-lj4[itype][jtype]) - offset[itype][jtype]; - evdwl *= factor_lj*philj; + evdwl *= factor_lj; } } else evdwl = 0.0;