Skip to content

Commit

Permalink
Merge pull request #2026 from n-yoshikawa/fix-obabel-fast
Browse files Browse the repository at this point in the history
Update coordinates in the fast option of obabel
  • Loading branch information
ghutchis committed Sep 3, 2019
2 parents 9c36d87 + ac9ccd3 commit bc6e5a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ops/gen3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,10 @@ bool OpGen3D::Do(OBBase* pOb, const char* OptionText, OpMap* pOptions, OBConvers
// Initial cleanup for every level
pFF->ConjugateGradients(iterations, 1.0e-4);

if (speed == 4)
if (speed == 4) {
pFF->UpdateCoordinates(*pmol);
return true; // no conformer searching
}

switch(speed) {
case 1:
Expand Down

0 comments on commit bc6e5a2

Please sign in to comment.