--- branches/development/src/nonbonded/SC.cpp 2011/04/08 21:25:19 1545 +++ branches/development/src/nonbonded/SC.cpp 2011/04/27 18:38:15 1549 @@ -359,7 +359,7 @@ namespace OpenMD { RealType dvpdr = res.second; RealType pot_temp = vptmp - vcij; - idat.vpair[3] += pot_temp; + idat.vpair += pot_temp; RealType dudr = drhodr * (idat.dfrho1 + idat.dfrho2) + dvpdr;