Skip to content

Bug: Freeze on add method #175

Closed
Closed

Description

@alexbarev

Describe the bug

Interpreter execution freezes after adding vector with label same as one removed before.

Steps to reproduce

import numpy as np
from usearch.index import Index

index = Index(ndim=3)
vector = np.array([0.2, 0.6, 0.4])
index.add(42, vector)
index.remove(42)
index.add(42, vector) # Here execution freezes

Expected behavior

Interpreter finish execution with no errors.

USearch version

v0.22.3

Operating System

Ubuntu 22.04.1

Hardware architecture

x86

Which interface are you using?

Python bindings

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    bug
    invalid
    on Jul 31, 2023
  2. added a commit that references this issue on Jul 31, 2023
    284b058
  3. ashvardanian commented on Jul 31, 2023

    @ashvardanian
    Member

    Thanks, @AleksandrKent! Fixed, coming in the next release!

  4. added a commit that references this issue on Aug 5, 2023
  5. ashvardanian commented on Aug 5, 2023

    @ashvardanian
    Member

    🎉 This issue has been resolved in version 0.23.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginvalidreleased

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions