# | Line 51 | Line 51 | void DirectionalAtomTypesSectionParser::parseLine(Forc | |
---|---|---|
51 | int ident = ff.getNAtomType() + 1; | |
52 | atomType->setIdent(ident); | |
53 | atomType->setName(atomTypeName); | |
54 | < | ff.addAtomType(atomTypeName, atomType) |
54 | > | ff.addAtomType(atomTypeName, atomType); |
55 | } else { | |
56 | < | dAtomType = dynamic_cast<DirectionalAtom*>(atomType); |
56 | > | dAtomType = dynamic_cast<DirectionalAtomType*>(atomType); |
57 | if (dAtomType == NULL) { | |
58 | std::cerr << "DirectionalAtomTypesSectionParser:: Can not cast to DirectionalAtomType" << std::endl; | |
59 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |