--- branches/development/src/nonbonded/LJ.cpp 2011/04/08 21:25:19 1545 +++ branches/development/src/nonbonded/LJ.cpp 2011/04/27 18:38:15 1549 @@ -279,7 +279,7 @@ namespace OpenMD { } RealType pot_temp = idat.vdwMult * epsilon * (myPot - myPotC); - idat.vpair[0] += pot_temp; + idat.vpair += pot_temp; RealType dudr = idat.sw * idat.vdwMult * epsilon * (myDeriv - myDerivC)*sigmai;