Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/bond.cpp

    rd74077 r952f38  
    77#include "Helpers/MemDebug.hpp"
    88
     9#include "Helpers/Verbose.hpp"
    910#include "atom.hpp"
    1011#include "bond.hpp"
    1112#include "element.hpp"
    1213#include "lists.hpp"
    13 #include "log.hpp"
    14 #include "verbose.hpp"
    1514
    1615
     
    3635{
    3736  if ((left != NULL) && (right != NULL)) {
    38     if ((left->getType() != NULL) && (left->getType()->Z == 1))
     37    if ((left->type != NULL) && (left->type->Z == 1))
    3938      HydrogenBond++;
    40     if ((right->getType() != NULL) && (right->getType()->Z == 1))
     39    if ((right->type != NULL) && (right->type->Z == 1))
    4140      HydrogenBond++;
    4241  }
     
    127126double bond::GetDistance() const
    128127{
    129   return (leftatom->distance(*rightatom));
     128  return (leftatom->node->distance(*rightatom->node));
    130129};
    131130
     
    135134double bond::GetDistanceSquared() const
    136135{
    137   return (leftatom->DistanceSquared(*rightatom));
     136  return (leftatom->node->DistanceSquared(*rightatom->node));
    138137};
Note: See TracChangeset for help on using the changeset viewer.