--- trunk/src/restraints/RestraintForceManager.cpp 2014/09/22 19:18:35 2020 +++ trunk/src/restraints/RestraintForceManager.cpp 2014/10/16 19:13:51 2024 @@ -329,9 +329,6 @@ namespace OpenMD { #endif currSnapshot_ = info_->getSnapshotManager()->getCurrentSnapshot(); - RealType pot = currSnapshot_->getLongRangePotential(); - pot += restPot; - currSnapshot_->setLongRangePotential(pot); currSnapshot_->setRestraintPotential(restPot); //write out forces and current positions of restrained molecules