--- trunk/OOPSE-4/src/brains/ForceManager.cpp 2005/04/15 22:04:00 2204 +++ trunk/OOPSE-4/src/brains/ForceManager.cpp 2005/10/04 19:34:03 2344 @@ -163,9 +163,9 @@ namespace oopse { CutoffGroup* cg; Vector3d com; std::vector rcGroup; - - if(info_->getNCutoffGroups() > 0){ + if(info_->getNCutoffGroups() > 0){ + for (mol = info_->beginMolecule(mi); mol != NULL; mol = info_->nextMolecule(mi)) { for(cg = mol->beginCutoffGroup(ci); cg != NULL; cg = mol->nextCutoffGroup(ci)) { cg->getCOM(com);