--- branches/development/src/brains/SimInfo.cpp 2010/12/17 20:11:05 1528 +++ branches/development/src/brains/SimInfo.cpp 2010/12/27 18:35:59 1529 @@ -684,14 +684,11 @@ namespace OpenMD { Atom* atom; set atomTypes; - for(mol = beginMolecule(mi); mol != NULL; mol = nextMolecule(mi)) { - + for(mol = beginMolecule(mi); mol != NULL; mol = nextMolecule(mi)) { for(atom = mol->beginAtom(ai); atom != NULL; atom = mol->nextAtom(ai)) { atomTypes.insert(atom->getAtomType()); - } - - } - + } + } return atomTypes; } @@ -1005,7 +1002,9 @@ namespace OpenMD { } else { // throw error sprintf( painCave.errMsg, - "SimInfo error: Unknown switchingFunctionType. (Input file specified %s .)\n\tswitchingFunctionType must be one of: \"cubic\" or \"fifth_order_polynomial\".", funcType.c_str() ); + "SimInfo error: Unknown switchingFunctionType. (Input file specified %s .)\n" + "\tswitchingFunctionType must be one of: \"cubic\" or \"fifth_order_polynomial\".", + funcType.c_str() ); painCave.isFatal = 1; simError(); }