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

fixes issue #353 and adds a test #354

Merged
merged 2 commits into from
Jun 18, 2024
Merged

fixes issue #353 and adds a test #354

merged 2 commits into from
Jun 18, 2024

Conversation

fakufaku
Copy link
Collaborator

The cause of the issue was that the time of the maximum delay
in the RIR is used to determine the necessary size of the array.

The float64 value of the delay was used to determine the size and construct the array.
However, the rir_build routine takes float32.
After conversion, the array size would evaluate to one delay more due to rounding
offset and an array size check would fail.

Converting the delay time array to float32 before creating the rir array
solved the issue.

@fakufaku fakufaku merged commit b866df9 into master Jun 18, 2024
38 checks passed
@fakufaku fakufaku deleted the bug/issue353 branch June 18, 2024 03:59
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.

1 participant