Changeset d79e591


Ignore:
Timestamp:
May 19, 2010, 2:03:42 PM (15 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
aa36cc
Parents:
0341a9
Message:

FIX: Fix of bug introduced during Vector Refactoring

Testsuite now working again

Location:
molecuilder/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecule.cpp

    r0341a9 rd79e591  
    276276      InBondvector *= BondRescale;   // rescale the distance vector to Hydrogen bond length
    277277      FirstOtherAtom->x = TopOrigin->x; // set coordination to origin ...
    278       FirstOtherAtom->x = InBondvector;  // ... and add distance vector to replacement atom
     278      FirstOtherAtom->x += InBondvector;  // ... and add distance vector to replacement atom
    279279      AllWentWell = AllWentWell && AddAtom(FirstOtherAtom);
    280280//      Log() << Verbose(4) << "Added " << *FirstOtherAtom << " at: ";
  • molecuilder/src/molecule_fragmentation.cpp

    r0341a9 rd79e591  
    722722    // free memory for bond part
    723723    DoLog(1) && (Log() << Verbose(1) << "Freeing bond memory" << endl);
    724     delete(FragmentList); // remove bond molecule from memory
     724    Free(&FragmentList); // remove bond molecule from memory
    725725    Free(&SortIndex);
    726726  } else {
Note: See TracChangeset for help on using the changeset viewer.