--- branches/development/src/nonbonded/MAW.cpp 2011/04/20 20:14:11 1548 +++ branches/development/src/nonbonded/MAW.cpp 2011/04/27 18:38:15 1549 @@ -219,7 +219,7 @@ namespace OpenMD { RealType Vang = ca1 * x2 / idat.r2 + cb1 * z / idat.rij + (0.8 - ca1 / 3.0); RealType pot_temp = idat.vdwMult * Vmorse * Vang; - idat.vpair[0] += pot_temp; + idat.vpair += pot_temp; idat.pot[0] += idat.sw * pot_temp; Vector3d dVmorsedr = (myDeriv - myDerivC) * Vector3d(x, y, z) / idat.rij;