Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/bond.cpp

    r952f38 rd74077  
    77#include "Helpers/MemDebug.hpp"
    88
    9 #include "Helpers/Verbose.hpp"
    109#include "atom.hpp"
    1110#include "bond.hpp"
    1211#include "element.hpp"
    1312#include "lists.hpp"
     13#include "log.hpp"
     14#include "verbose.hpp"
    1415
    1516
     
    3536{
    3637  if ((left != NULL) && (right != NULL)) {
    37     if ((left->type != NULL) && (left->type->Z == 1))
     38    if ((left->getType() != NULL) && (left->getType()->Z == 1))
    3839      HydrogenBond++;
    39     if ((right->type != NULL) && (right->type->Z == 1))
     40    if ((right->getType() != NULL) && (right->getType()->Z == 1))
    4041      HydrogenBond++;
    4142  }
     
    126127double bond::GetDistance() const
    127128{
    128   return (leftatom->node->distance(*rightatom->node));
     129  return (leftatom->distance(*rightatom));
    129130};
    130131
     
    134135double bond::GetDistanceSquared() const
    135136{
    136   return (leftatom->node->DistanceSquared(*rightatom->node));
     137  return (leftatom->DistanceSquared(*rightatom));
    137138};
Note: See TracChangeset for help on using the changeset viewer.