Skip to content

Commit 5ab0758

Browse files
committed
Fix non-filtered case in DynamicVamanaIndex::search()
1 parent ae0f97d commit 5ab0758

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bindings/cpp/src/dynamic_vamana_index_impl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ class DynamicVamanaIndexImpl {
114114
svs::make_dims(n, k), static_cast<size_t*>(static_cast<void*>(labels))},
115115
svs::MatrixView<float>{svs::make_dims(n, k), distances}};
116116
impl_->search(results, queries, sp);
117+
return;
117118
}
118119

119120
// Selective search with IDSelector

0 commit comments

Comments
 (0)