From 5a73f4b8934b989bb299e768dbc486b9b6f11b02 Mon Sep 17 00:00:00 2001 From: meiravgri <109056284+meiravgri@users.noreply.github.com> Date: Mon, 15 Sep 2025 19:01:40 +0300 Subject: [PATCH] Change indexCapacity to return size instead of capacity (#778) (cherry picked from commit c51cede3a5a20bc6a053907d00a9f170013ddf34) --- 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 93602670e..23bd142de 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