--- branches/new_design/OOPSE-2.0/src/UseTheForce/Shapes_FF.cpp 2004/11/03 16:08:43 1701 +++ branches/new_design/OOPSE-2.0/src/UseTheForce/Shapes_FF.cpp 2004/11/03 18:00:36 1702 @@ -306,13 +306,13 @@ void Shapes_FF::initializeAtoms( int nAtoms, Atom** th for( i=0; igetType(); + myTypeString = the_atoms[i]->getType().c_str(); iter = atomTypeMap.find(myTypeString); if (iter == atomTypeMap.end()) { sprintf( painCave.errMsg, "AtomType error, %s not found in force file.\n", - the_atoms[i]->getType() ); + the_atoms[i]->getType().c_str() ); painCave.isFatal = 1; simError(); } else {