Skip to content

Commit

Permalink
Fix a copy-paste artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
achirkin committed Sep 7, 2023
1 parent fd1cd90 commit 36ded4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/bench/ann/src/faiss/faiss_benchmark.cu
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void parse_base_build_param(const nlohmann::json& conf,
typename raft::bench::ann::FaissGpu<T>::BuildParam& param)
{
param.nlist = conf.at("nlist");
if (conf.contains("ratio")) { param.ratio = 1.0; }
if (conf.contains("ratio")) { param.ratio = conf.at("ratio"); }
}

template <typename T>
Expand Down

0 comments on commit 36ded4a

Please sign in to comment.