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 VecN::write_to_slice #581

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Fix VecN::write_to_slice #581

merged 1 commit into from
Nov 5, 2024

Conversation

stepancheg
Copy link
Contributor

Fix regression introduced in #571.

VecN::write_to_slice expects the slice length to be >= dim, not == dim.

slice::copy_from_slice expects both slices to have the same length.

Fix regression introduced in bitshifter#571.

`VecN::write_to_slice` expects the slice length to be >= dim, not == dim.

`slice::copy_from_slice` expects both slices to have the same length.
@bitshifter bitshifter merged commit d0aa9a9 into bitshifter:main Nov 5, 2024
18 checks passed
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.

2 participants