Skip to content

SPTAGTest KDTReconstructTest failure: Assertion `quantizer' failed. #315

@pabs3

Description

@pabs3

Describe the bug
The KDTReconstructTest test fails due to an assert.

To Reproduce
Steps to reproduce the behavior:

  1. Build SPTAG
  2. Run SPTAGTest
  3. See error

** To Fix**
Copy commit 1e87978 on the try-dispatcher branch by @PhilipBAdams from May 2022 to the main branch.

Expected behavior
The test should succeed.

Screenshots

SPTAGTest: ./Test/src/ReconstructIndexSimilarityTest.cpp:169: void GenerateReconstructData(std::shared_ptr<SPTAG::VectorSet>&, std::shared_ptr<SPTAG::VectorSet>&, std::shared_ptr<SPTAG::VectorSet>&, std::shared_ptr<SPTAG::MetadataSet>&, std::shared_ptr<SPTAG::VectorSet>&, std::shared_ptr<SPTAG::VectorSet>&, SPTAG::DistCalcMethod, int, std::shared_ptr<SPTAG::COMMON::IQuantizer>&) [with R = float]: Assertion `quantizer' failed.

Desktop:

  • OS: Debian
  • Browser None
  • Version 12 (bookworm)

Additional context
Add any other context about the problem here.

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