# | Line 306 | Line 306 | void Shapes_FF::initializeAtoms( int nAtoms, Atom** th | |
---|---|---|
306 | ||
307 | for( i=0; i<nAtoms; i++ ){ | |
308 | ||
309 | < | myTypeString = the_atoms[i]->getType(); |
309 | > | myTypeString = the_atoms[i]->getType().c_str(); |
310 | iter = atomTypeMap.find(myTypeString); | |
311 | ||
312 | if (iter == atomTypeMap.end()) { | |
313 | sprintf( painCave.errMsg, | |
314 | "AtomType error, %s not found in force file.\n", | |
315 | < | the_atoms[i]->getType() ); |
315 | > | the_atoms[i]->getType().c_str() ); |
316 | painCave.isFatal = 1; | |
317 | simError(); | |
318 | } else { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |