Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
greglandrum committed Jan 4, 2022
1 parent faa3273 commit ac822d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sketcherMinimizerAtom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ sketcherMinimizerAtom::clockwiseOrderedNeighbors() const

while (!neighs.empty()) {
float smallestAngle = 361;
lastPoppedIndex = 0;
for (unsigned int i = 0; i < neighs.size(); i++) {
float newAngle = sketcherMinimizerMaths::signedAngle(
lastPoppedAtom->coordinates, coordinates,
Expand Down

0 comments on commit ac822d6

Please sign in to comment.