Skip to content

Commit

Permalink
Update coordinates in fast option of obabel
Browse files Browse the repository at this point in the history
  • Loading branch information
n-yoshikawa committed Sep 3, 2019
1 parent 9c36d87 commit ac9ccd3
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 ac9ccd3

Please sign in to comment.