Skip to content

Commit b70e4d2

Browse files
committed
revert size
1 parent 0ebc8b3 commit b70e4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VecSim/algorithms/brute_force/brute_force.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ size_t BruteForceIndex<DataType, DistType>::indexSize() const {
275275

276276
template <typename DataType, typename DistType>
277277
size_t BruteForceIndex<DataType, DistType>::indexCapacity() const {
278-
return this->idToLabelMapping.capacity();
278+
return this->idToLabelMapping.size();
279279
}
280280

281281
// Compute the score for every vector in the block by using the given distance function.

0 commit comments

Comments
 (0)