Skip to content

Panic when searching in an HNSW #31

@Kerollmops

Description

@Kerollmops

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions