mirror of
https://github.com/facebookresearch/faiss.git
synced 2026-10-12 02:13:36 +00:00
committed by
Matthijs Douze
parent
f417a53628
commit
eb6c4cc96a
+4
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user