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 InlineVectorValues.size #320

Merged
merged 3 commits into from
May 16, 2024
Merged

Fix InlineVectorValues.size #320

merged 3 commits into from
May 16, 2024

Conversation

jkni
Copy link
Collaborator

@jkni jkni commented May 16, 2024

Fix InlineVectorValues size() (off-by-1). Handle when 0 vectors have been written through ODGI writer.

@jkni jkni requested a review from jbellis May 16, 2024 01:25
@jbellis
Copy link
Owner

jbellis commented May 16, 2024

LGTM but need the same fix in LvqVectorValues

@jkni
Copy link
Collaborator Author

jkni commented May 16, 2024

Good catch. Pushed that as well.

Copy link
Owner

@jbellis jbellis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks reasonably straightforward to add a test?

@jkni
Copy link
Collaborator Author

jkni commented May 16, 2024

Good call. Added test coverage for LvqVectorValues and InlineVectorValues size.

@jkni jkni merged commit 423b20b into main May 16, 2024
6 checks passed
@jkni jkni deleted the fix-ivv-size branch May 16, 2024 15:13
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