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 _pnn50: Use float division and correct array len #10

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

riccioclista
Copy link

Integer division has always yielded 0.
The array length must be taken from the diff array (which is 1 less than rri)

Integer division has always yielded 0.
The array length must be taken from the diff array (which is 1 less than rri)
@rhenanbartels
Copy link
Owner

rhenanbartels commented May 3, 2018

Hi @riccioclista, thank you very much for your contribution. Could you please add a unit test that reproduces this error?

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.

2 participants