Changeset 328418d


Ignore:
Timestamp:
Mar 3, 2010, 6:43:55 PM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
1540c8c
Parents:
a83171
Message:

BUGFIX: MoleculeListClass::DissectMoleculeIntoConnectedSubgraphs() - check of return value BondGraph::ConstructBondGraph() was wrong way round

  • negate symbol "!" forgotten.

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/moleculelist.cpp

    ra83171 r328418d  
    786786
    787787  // 1. dissect the molecule into connected subgraphs
    788   if (configuration->BG->ConstructBondGraph(mol)) {
     788  if (!configuration->BG->ConstructBondGraph(mol)) {
    789789    delete (mol);
    790790    eLog() << Verbose(1) << "There are no bonds." << endl;
Note: See TracChangeset for help on using the changeset viewer.