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

[Bug fix] Index out of bounds in builder.rs #11

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

rameloni
Copy link
Owner

The build method in TyVcdBuilder wasn't getting the kind of a vector properly. The previous tests were working for a coincidence, indeed the issue occurs only when a vector of bundle is used and its type contains more than 2 fields (n_fields > 2). But now, that test case is covered and the issue is solved.

Fixes #10

The build method in TyVcdBuilder wasn't getting the kind of a vector properly.
The previous tests were working for a coincidence, indeed the issue occurs only when a vector of bundle is used and its type contains more than 2 fields (n_fields > 2).
But now, that test case is covered and the issue is solved.
@rameloni rameloni merged commit 7482091 into main Jun 10, 2024
@rameloni rameloni deleted the fix-idx-outofbounds-builder-10 branch June 10, 2024 13:29
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.

Index out of bounds in builder.rs
1 participant