# | 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 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |