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

NPE fix: implicit hydrogen counts can be unset too (addresses #282) #283

Merged
merged 1 commit into from Mar 26, 2017

Conversation

egonw
Copy link
Member

@egonw egonw commented Mar 26, 2017

A recent change in the atom typer causes this. The code actually checks for non-zero values, and null can be interpreted as zero.

@egonw egonw requested a review from johnmay March 26, 2017 12:46
@johnmay
Copy link
Member

johnmay commented Mar 26, 2017

The logic is wrong... valence includes the implicit hydrogen count.

@johnmay
Copy link
Member

johnmay commented Mar 26, 2017

Oh no right I see there's two valence fields there.

@johnmay johnmay merged commit da681f8 into cdk:master Mar 26, 2017
@egonw egonw deleted the fix/npeFix branch September 27, 2021 11:15
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