ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/io/ChargeAtomTypesSectionParser.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/io/ChargeAtomTypesSectionParser.cpp (file contents):
Revision 1765 by tim, Mon Nov 22 20:55:52 2004 UTC vs.
Revision 1770 by tim, Tue Nov 23 17:53:43 2004 UTC

# Line 45 | Line 45 | void ChargeAtomTypesSectionParser::parseLine(ForceFiel
45          AtomType* atomType = ff ->getAtomType(atomTypeName);
46  
47          if (atomType != NULL) {
48 <            double charge = tokenizer.nextToken();
48 >            double charge = tokenizer.nextTokenAsDouble();
49              atomType.addProperty(new DoubleGenericData("Charge", charge));
50              atomType->setCharge();
51          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines