--- branches/development/src/nonbonded/SC.cpp 2011/06/03 21:39:49 1575 +++ branches/development/src/nonbonded/SC.cpp 2011/06/14 20:41:44 1582 @@ -382,7 +382,7 @@ namespace OpenMD { *(idat.particlePot1) -= data1.c * data1.epsilon * sqrt( *(idat.rho1) - rhtmp) + *(idat.frho1); - idat.pot[METALLIC_FAMILY] += pot_temp; + (*(idat.pot))[METALLIC_FAMILY] += pot_temp; } return;