Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/FragmentationAction/FragmentationAction.cpp

    r5d5550 r0763ce  
    129129    BondGraph *BG = World::getInstance().getBondGraph();
    130130    World::AtomComposite Set = World::getInstance().getAllAtoms(AtomsBySelection());
    131     BG->CorrectBondDegree(Set);
     131    // check whether bond graph is correct
     132    if (!BG->checkBondDegree(Set))
     133      BG->CorrectBondDegree(Set);
     134    else
     135      LOG(1, "INFO: Bond degrees all valid, not correcting.");
    132136  }
    133137
Note: See TracChangeset for help on using the changeset viewer.