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

FIX: Fix of bug introduced during Vector Refactoring

Testsuite now working again

File:
1 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: ";
Note: See TracChangeset for help on using the changeset viewer.