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

Panic when searching in an HNSW #31

Open
Kerollmops opened this issue Jul 17, 2023 · 0 comments
Open

Panic when searching in an HNSW #31

Kerollmops opened this issue Jul 17, 2023 · 0 comments

Comments

@Kerollmops
Copy link

The library panics with the following message when trying to search in it. The exact issue is located in the layer_search method due to wrong usage of the copy_from_slice function.

[...] panicked at 'source slice length (80) does not match destination slice length (84)', /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hnsw-0.11.0/src/hnsw/hnsw_const.rs:308:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
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

No branches or pull requests

1 participant