diff --git a/faiss/IndexIVF.cpp b/faiss/IndexIVF.cpp index 548aaa4cc..14830475d 100644 --- a/faiss/IndexIVF.cpp +++ b/faiss/IndexIVF.cpp @@ -66,8 +66,8 @@ void Level1Quantizer::train_q1( } else if (quantizer_trains_alone == 1) { if (verbose) printf("IVF quantizer trains alone...\n"); - quantizer->train(n, x); quantizer->verbose = verbose; + quantizer->train(n, x); FAISS_THROW_IF_NOT_MSG( quantizer->ntotal == nlist, "nlist not consistent with quantizer size");