Changes in src/bond.cpp [d74077:952f38]
- File:
-
- 1 edited
-
src/bond.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/bond.cpp
rd74077 r952f38 7 7 #include "Helpers/MemDebug.hpp" 8 8 9 #include "Helpers/Verbose.hpp" 9 10 #include "atom.hpp" 10 11 #include "bond.hpp" 11 12 #include "element.hpp" 12 13 #include "lists.hpp" 13 #include "log.hpp"14 #include "verbose.hpp"15 14 16 15 … … 36 35 { 37 36 if ((left != NULL) && (right != NULL)) { 38 if ((left-> getType() != NULL) && (left->getType()->Z == 1))37 if ((left->type != NULL) && (left->type->Z == 1)) 39 38 HydrogenBond++; 40 if ((right-> getType() != NULL) && (right->getType()->Z == 1))39 if ((right->type != NULL) && (right->type->Z == 1)) 41 40 HydrogenBond++; 42 41 } … … 127 126 double bond::GetDistance() const 128 127 { 129 return (leftatom-> distance(*rightatom));128 return (leftatom->node->distance(*rightatom->node)); 130 129 }; 131 130 … … 135 134 double bond::GetDistanceSquared() const 136 135 { 137 return (leftatom-> DistanceSquared(*rightatom));136 return (leftatom->node->DistanceSquared(*rightatom->node)); 138 137 };
Note:
See TracChangeset
for help on using the changeset viewer.
