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

Avoid integer division in tutorial #23

Merged
merged 1 commit into from
Jan 14, 2019
Merged

Avoid integer division in tutorial #23

merged 1 commit into from
Jan 14, 2019

Conversation

michael-hartmann
Copy link
Contributor

The type of the numerator and the denumerator are both integer/unsigned
integer. Therefore, the division operator corresponds to integer division. This
commit makes the numerator a double to get the expected result.

The type of the numerator and the denumerator are both integer/unsigned
integer. Therefore, the division operator corresponds to integer division. This
commit makes the numerator a double to get the expected result.
@sivaramambikasaran sivaramambikasaran merged commit b9605e5 into SAFRAN-LAB:master Jan 14, 2019
@sivaramambikasaran
Copy link
Member

Thanks @michael-hartmann

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