Commit eb6c4cc9 authored by Bonnie Varghese's avatar Bonnie Varghese Committed by Matthijs Douze

Allow setting nprobe for IndexIDMap->IndexIVF (#673)

There we go
parent f417a536
......@@ -488,7 +488,10 @@ void ParameterSpace::set_index_parameter (
}
if (name == "nprobe") {
if ( DC(IndexIVF)) {
if (DC (IndexIDMap)) {
set_index_parameter (ix->index, name, val);
return;
} else if (DC (IndexIVF)) {
ix->nprobe = int(val);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment