Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Graph/BondGraph.hpp

    re3e52a r0763ce  
    221221              neighboriter != ListOfNeighbors.end();
    222222              ++neighboriter) {
    223             const atom * const OtherWalker = dynamic_cast<const atom *>(*neighboriter);
    224             ASSERT(OtherWalker != NULL,
    225                 "BondGraph::CreateAdjacency() - TesselPoint "
    226                 +(*neighboriter)->getName()+" that was not an atom retrieved from LinkedList");
    227             if (OtherWalker->getId() > Walker->getId()) {  // just to not add bonds from both sides
     223            if ((*neighboriter) > Walker) {  // just to not add bonds from both sides
     224              const atom * const OtherWalker = dynamic_cast<const atom *>(*neighboriter);
     225              ASSERT(OtherWalker != NULL,
     226                  "BondGraph::CreateAdjacency() - TesselPoint "
     227                  +(*neighboriter)->getName()+" that was not an atom retrieved from LinkedList");
    228228              LOG(4, "INFO: Current other atom is " << *OtherWalker << ".");
    229229
     
    245245              }
    246246            } else {
    247               LOG(4, "REJECT: Not Adding: Wrong order.");
     247              LOG(5, "REJECT: Not Adding: Wrong order.");
    248248            }
    249249          }
Note: See TracChangeset for help on using the changeset viewer.