Skip to content

Commit

Permalink
Update runner.py: fix batch query missing filter exprs
Browse files Browse the repository at this point in the history
  • Loading branch information
cococo2000 authored Aug 29, 2024
1 parent f1d8ed3 commit 0d47697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigvectorbench/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def batch_query(
exprs = [filter_expr(*labels) for labels in X_labels]
# TODO: consider using a dataclass to represent return value.
if prepared_queries:
algo.prepare_batch_query(X, count)
algo.prepare_batch_query(X, count, exprs)
start = time.time()
algo.run_prepared_batch_query()
total = time.time() - start
Expand Down

0 comments on commit 0d47697

Please sign in to comment.