Skip to content

Commit 5fa1323

Browse files
author
Nikos Papailiou
committed
Test
1 parent 7e5de43 commit 5fa1323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apis/python/src/tiledb/vector_search/index.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ def distributed_query(
217217
parts_uri=self.parts_db_uri,
218218
ids_uri=self.ids_uri,
219219
query_vectors=targets_m,
220-
active_partitions=active_partitions[part:part_end],
221-
active_queries=active_queries[part:part_end],
220+
active_partitions=np.array(active_partitions)[part:part_end],
221+
active_queries=np.array(active_queries[part:part_end]),
222222
indices=self._index,
223223
k_nn=k,
224224
ctx=self.ctx,

0 commit comments

Comments
 (0)