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

add guard to Size #365

Merged
merged 1 commit into from
Jul 1, 2024
Merged

add guard to Size #365

merged 1 commit into from
Jul 1, 2024

Conversation

friendlymatthew
Copy link
Collaborator

A common trap when creating a BTree is to zero out VectorDim. However, a VectorDim of 0 proceeds to screw up the Size calculation.

@friendlymatthew
Copy link
Collaborator Author

Note: Instead, it'll panic.

@friendlymatthew friendlymatthew enabled auto-merge (squash) July 1, 2024 16:53
@friendlymatthew friendlymatthew merged commit 3865e79 into main Jul 1, 2024
9 checks passed
Copy link

github-actions bot commented Jul 1, 2024

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