From c3a9c781cada69945d283765b0ffef148b1e5d67 Mon Sep 17 00:00:00 2001 From: "Corey J. Nolet" Date: Wed, 6 Dec 2023 02:44:58 +0100 Subject: [PATCH] Fixing small bug in raft-ann-bench (#2041) Authors: - Corey J. Nolet (https://github.com/cjnolet) Approvers: - Divye Gala (https://github.com/divyegala) URL: https://github.com/rapidsai/raft/pull/2041 --- python/raft-ann-bench/src/raft-ann-bench/run/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py b/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py index 4611f39264..9841b47b98 100644 --- a/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py +++ b/python/raft-ann-bench/src/raft-ann-bench/run/__main__.py @@ -574,8 +574,8 @@ def add_algo_group(group_list): index["search_params"].append(search_dict) executables_to_run[executable]["index"].append(index) - if len(index["search_params"]) == 0: - print("No search parameters were added to configuration") + if len(index["search_params"]) == 0: + print("No search parameters were added to configuration") run_build_and_search( conf_file,