--- branches/development/src/nonbonded/InteractionManager.cpp 2011/11/22 20:38:56 1665 +++ branches/development/src/nonbonded/InteractionManager.cpp 2012/05/18 21:44:02 1710 @@ -85,14 +85,13 @@ namespace OpenMD { atype1 = atomTypes->nextType(i1)) { // add it to the map: - AtomTypeProperties atp = atype1->getATP(); pair::iterator,bool> ret; - ret = typeMap_.insert( pair(atp.ident, atype1) ); + ret = typeMap_.insert( pair(atype1->getIdent(), atype1) ); if (ret.second == false) { sprintf( painCave.errMsg, "InteractionManager already had a previous entry with ident %d\n", - atp.ident); + atype1->getIdent()); painCave.severity = OPENMD_INFO; painCave.isFatal = 0; simError();