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