From 77eb2637f1779f742559493340242f60b702bb7a Mon Sep 17 00:00:00 2001 From: meiravgri <109056284+meiravgri@users.noreply.github.com> Date: Mon, 15 Sep 2025 18:10:26 +0300 Subject: [PATCH] Change indexCapacity to return size instead of capacity --- src/VecSim/algorithms/brute_force/brute_force.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VecSim/algorithms/brute_force/brute_force.h b/src/VecSim/algorithms/brute_force/brute_force.h index e70edb88c..25f51df93 100644 --- a/src/VecSim/algorithms/brute_force/brute_force.h +++ b/src/VecSim/algorithms/brute_force/brute_force.h @@ -225,7 +225,7 @@ size_t BruteForceIndex::indexSize() const { template size_t BruteForceIndex::indexCapacity() const { - return this->idToLabelMapping.capacity(); + return this->idToLabelMapping.size(); } template