Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in distance geometry code #2634

Merged
merged 1 commit into from Oct 20, 2023
Merged

Conversation

timvdm
Copy link
Member

@timvdm timvdm commented Oct 20, 2023

This bug was discovered while testing out the new iterators. The old iterator marcos used iterators that had an operator bool() which implicitly converts into unsigned long. Instead of using the atom's id, a boolean value was used for IsCis/IsTrans.

* This bug was discovered while testing out the new iterators. The old
  iterator marcos used iterators that had an operator bool() which
  implicitly converts into unsigned long. Instead of using the atom's
  id, a boolean value was used for IsCis/IsTrans.
@timvdm timvdm requested a review from ghutchis October 20, 2023 19:47
Copy link
Member

@ghutchis ghutchis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@ghutchis ghutchis merged commit 7d6fd4c into openbabel:master Oct 20, 2023
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants