mirror of https://github.com/milvus-io/milvus.git
fix wrong arguments check of hnsw-pq (#3247)
Signed-off-by: cmli <chengming.li@zilliz.com>pull/3245/head
parent
3913cc0fc4
commit
cd38d607f0
|
@ -287,7 +287,7 @@ RHNSWPQConfAdapter::CheckTrain(Config& oricfg, const IndexMode mode) {
|
|||
int64_t dimension = oricfg[knowhere::meta::DIM].get<int64_t>();
|
||||
IVFPQConfAdapter::GetValidMList(dimension, resset);
|
||||
|
||||
CheckIntByValues(knowhere::IndexParams::m, resset);
|
||||
CheckIntByValues(knowhere::IndexParams::PQM, resset);
|
||||
return ConfAdapter::CheckTrain(oricfg, mode);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue